MCPcopy Create free account
hub / github.com/LBANN/lbann / ~object

Method ~object

src/utils/python.cpp:218–224  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

216}
217
218object::~object()
219{
220 if (is_active()) {
221 global_interpreter_lock gil;
222 Py_XDECREF(m_ptr);
223 }
224}
225
226PyObject* object::release() noexcept
227{

Callers

nothing calls this directly

Calls 1

is_activeFunction · 0.85

Tested by

no test coverage detected