Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
218
object::~object()
219
{
220
if (is_active()) {
221
global_interpreter_lock gil;
222
Py_XDECREF(m_ptr);
223
}
224
}
225
226
PyObject* object::release() noexcept
227
{
Callers
nothing calls this directly
Calls
1
is_active
Function · 0.85
Tested by
no test coverage detected