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

Method of

include/pybind11/pytypes.h:1617–1617  ·  view source on GitHub ↗

Return a type object from a handle or an object

Source from the content-addressed store, hash-verified

1615
1616 /// Return a type object from a handle or an object
1617 static type of(handle h) { return type(type::handle_of(h), borrowed_t{}); }
1618
1619 // Defined in pybind11/cast.h
1620 /// Convert C++ type to handle if previously registered. Does not convert

Callers

nothing calls this directly

Calls 1

typeClass · 0.70

Tested by

no test coverage detected