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

Method set

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

Source from the content-addressed store, hash-verified

1160 }
1161
1162 static void set(handle obj, handle key, handle val) {
1163 if (PyObject_SetItem(obj.ptr(), key.ptr(), val.ptr()) != 0) {
1164 throw error_already_set();
1165 }
1166 }
1167};
1168
1169struct sequence_item {

Callers

nothing calls this directly

Calls 1

ptrMethod · 0.80

Tested by

no test coverage detected