MCPcopy Create free account
hub / github.com/pybind/pybind11 / format

Method format

include/pybind11/numpy.h:1764–1767  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1762 static pybind11::dtype dtype() { return reinterpret_borrow<pybind11::dtype>(dtype_ptr()); }
1763
1764 static std::string format() {
1765 static auto format_str = get_numpy_internals().get_type_info<T>(true)->format_str;
1766 return format_str;
1767 }
1768
1769 static void register_dtype(any_container<field_descriptor> fields) {
1770 register_structured_dtype(std::move(fields),

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected