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

Function _PyFrame_GetCodeBorrow

asyncpg/protocol/record/pythoncapi_compat.h:161–166  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

159#endif
160
161static inline PyCodeObject* _PyFrame_GetCodeBorrow(PyFrameObject *frame)
162{
163 PyCodeObject *code = PyFrame_GetCode(frame);
164 Py_DECREF(code);
165 return code;
166}
167
168
169// bpo-40421 added PyFrame_GetBack() to Python 3.9.0b1

Callers

nothing calls this directly

Calls 1

PyFrame_GetCodeFunction · 0.85

Tested by

no test coverage detected