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

Function accessor

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

Source from the content-addressed store, hash-verified

1076
1077public:
1078 accessor(handle obj, key_type key) : obj(obj), key(std::move(key)) {}
1079 accessor(const accessor &) = default;
1080 accessor(accessor &&) noexcept = default;
1081

Callers

nothing calls this directly

Calls 1

moveFunction · 0.85

Tested by

no test coverage detected