We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e37ac5f commit 7c6a288Copy full SHA for 7c6a288
Include/internal/pycore_frame.h
@@ -70,6 +70,9 @@ typedef struct _PyInterpreterFrame {
70
#define _PyInterpreterFrame_LASTI(IF) \
71
((int)((IF)->prev_instr - _PyCode_CODE((IF)->f_code)))
72
73
+#define _PyInterpreterFrame_CODE(IF) \
74
+ ((PyObject*)((IF)->f_code))
75
+
76
static inline PyObject **_PyFrame_Stackbase(_PyInterpreterFrame *f) {
77
return f->localsplus + f->f_code->co_nlocalsplus;
78
}
0 commit comments