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

Function PyCode_GetVarnames

asyncpg/protocol/record/pythoncapi_compat.h:526–529  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

524// gh-95008 added PyCode_GetVarnames() to Python 3.11.0rc1
525#if PY_VERSION_HEX < 0x030B00C1 && !defined(PYPY_VERSION)
526static inline PyObject* PyCode_GetVarnames(PyCodeObject *code)
527{
528 return Py_NewRef(code->co_varnames);
529}
530#endif
531
532// gh-95008 added PyCode_GetFreevars() to Python 3.11.0rc1

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected