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

Function PyFrame_GetGlobals

asyncpg/protocol/record/pythoncapi_compat.h:206–209  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

204// bpo-40421 added PyFrame_GetGlobals() to Python 3.11.0a7
205#if PY_VERSION_HEX < 0x030B00A7 && !defined(PYPY_VERSION)
206static inline PyObject* PyFrame_GetGlobals(PyFrameObject *frame)
207{
208 return Py_NewRef(frame->f_globals);
209}
210#endif
211
212

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected