MCPcopy Create free account
hub / github.com/pybind/pybind11 / ~PythonCallInDestructor

Method ~PythonCallInDestructor

tests/test_exceptions.cpp:94–94  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

92struct PythonCallInDestructor {
93 explicit PythonCallInDestructor(const py::dict &d) : d(d) {}
94 ~PythonCallInDestructor() { d["good"] = true; }
95
96 py::dict d;
97};

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected