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

Method get

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

Source from the content-addressed store, hash-verified

1145struct str_attr {
1146 using key_type = const char *;
1147 static object get(handle obj, const char *key) { return getattr(obj, key); }
1148 static void set(handle obj, const char *key, handle val) { setattr(obj, key, val); }
1149};
1150

Callers

nothing calls this directly

Calls 1

getattrFunction · 0.85

Tested by

no test coverage detected