Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/apache/arrow
/ ~OwnedRef
Function
~OwnedRef
python/pyarrow/src/arrow/python/common.h:193–198 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
191
}
192
193
~OwnedRef() {
194
// GH-38626: destructor may be called after the Python interpreter is finalized.
195
if (Py_IsInitialized()) {
196
reset();
197
}
198
}
199
200
void reset(PyObject* obj) {
201
Py_XDECREF(obj_);
Callers
nothing calls this directly
Calls
1
reset
Function · 0.85
Tested by
no test coverage detected