MCPcopy Create free account
hub / github.com/MagicStack/asyncpg / PyObject_GC_IsTracked

Function PyObject_GC_IsTracked

asyncpg/protocol/record/pythoncapi_compat.h:456–459  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

454// bpo-4688 added _PyObject_GC_IS_TRACKED() to Python 2.7.0a2.
455#if PY_VERSION_HEX < 0x030900A6 && !defined(PYPY_VERSION)
456static inline int PyObject_GC_IsTracked(PyObject* obj)
457{
458 return (PyObject_IS_GC(obj) && _PyObject_GC_IS_TRACKED(obj));
459}
460#endif
461
462// bpo-40241 added PyObject_GC_IsFinalized() to Python 3.9.0a6.

Callers 1

make_recordFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected