MCPcopy Create free account
hub / github.com/pybind/pybind11 / handle>

Method handle>

tests/test_numpy_array.cpp:169–171  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

167
168template <>
169py::handle convert_to_pyobjecttype<py::handle>(py::object obj) {
170 return obj.release();
171}
172
173template <>
174py::object convert_to_pyobjecttype<py::object>(py::object obj) {

Callers

nothing calls this directly

Calls 1

releaseMethod · 0.80

Tested by

no test coverage detected