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

Function PyCode_GetCode

asyncpg/protocol/record/pythoncapi_compat.h:517–520  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

515// gh-92154 added PyCode_GetCode() to Python 3.11.0b1
516#if PY_VERSION_HEX < 0x030B00B1 && !defined(PYPY_VERSION)
517static inline PyObject* PyCode_GetCode(PyCodeObject *code)
518{
519 return Py_NewRef(code->co_code);
520}
521#endif
522
523

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected