PyFrameObject.f_back

previous frame, or NULL

struct PyFrameObject
PyFrameObject* f_back;

Meta