| 306 | // bpo-40429 added PyThreadState_GetFrame() to Python 3.9.0b1 |
| 307 | #if PY_VERSION_HEX < 0x030900B1 && !defined(PYPY_VERSION) |
| 308 | static inline PyFrameObject* PyThreadState_GetFrame(PyThreadState *tstate) |
| 309 | { |
| 310 | assert(tstate != _Py_NULL); |
| 311 | return _Py_CAST(PyFrameObject *, Py_XNewRef(tstate->frame)); |
| 312 | } |
| 313 | #endif |
| 314 | |
| 315 | #if !defined(PYPY_VERSION) |
no outgoing calls
no test coverage detected