Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/pybind/pybind11
/ get_type
Method
get_type
include/pybind11/pytypes.h:2657–2659 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
2655
2656
template <typename D>
2657
handle object_api<D>::get_type() const {
2658
return type::handle_of(derived());
2659
}
2660
2661
template <typename D>
2662
bool object_api<D>::rich_compare(object_api const &other, int value) const {
Callers
nothing calls this directly
Calls
1
derived
Class · 0.85
Tested by
no test coverage detected