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

Function object

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

Source from the content-addressed store, hash-verified

381class object : public handle {
382public:
383 object() = default;
384 PYBIND11_DEPRECATED("Use reinterpret_borrow<object>() or reinterpret_steal<object>()")
385 object(handle h, bool is_borrowed) : handle(h) {
386 if (is_borrowed) {

Callers 15

pytypes.hFile · 0.70
get_scope_moduleFunction · 0.70
NameFunction · 0.70
index_to_objectMethod · 0.70
capsuleFunction · 0.70
from_memoryMethod · 0.70
evalFunction · 0.70
execFunction · 0.70
eval_fileFunction · 0.70
test_args_refcountFunction · 0.50
test_unscoped_enumFunction · 0.50

Calls

no outgoing calls

Tested by 5

test_args_refcountFunction · 0.40
test_unscoped_enumFunction · 0.40
test_scoped_enumFunction · 0.40
TEST_SUBMODULEFunction · 0.40
test_bool_casterFunction · 0.40