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

Function PyFrame_GetBack

asyncpg/protocol/record/pythoncapi_compat.h:171–175  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

169// bpo-40421 added PyFrame_GetBack() to Python 3.9.0b1
170#if PY_VERSION_HEX < 0x030900B1 && !defined(PYPY_VERSION)
171static inline PyFrameObject* PyFrame_GetBack(PyFrameObject *frame)
172{
173 assert(frame != _Py_NULL);
174 return _Py_CAST(PyFrameObject*, Py_XNewRef(frame->f_back));
175}
176#endif
177
178#if !defined(PYPY_VERSION)

Callers 1

_PyFrame_GetBackBorrowFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected