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

Method set

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

Source from the content-addressed store, hash-verified

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
1151struct generic_item {

Callers

nothing calls this directly

Calls 1

setattrFunction · 0.85

Tested by

no test coverage detected