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

Function PyCode_GetFreevars

asyncpg/protocol/record/pythoncapi_compat.h:534–537  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

532// gh-95008 added PyCode_GetFreevars() to Python 3.11.0rc1
533#if PY_VERSION_HEX < 0x030B00C1 && !defined(PYPY_VERSION)
534static inline PyObject* PyCode_GetFreevars(PyCodeObject *code)
535{
536 return Py_NewRef(code->co_freevars);
537}
538#endif
539
540// gh-95008 added PyCode_GetCellvars() to Python 3.11.0rc1

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected