File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
Filter options
Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
Original file line number Diff line number Diff line change @@ -6432,10 +6432,10 @@ _PyEvalFramePushAndInit(PyThreadState *tstate, PyFunctionObject *func,
6432
6432
static void
6433
6433
_PyEvalFrameClearAndPop (PyThreadState * tstate , _PyInterpreterFrame * frame )
6434
6434
{
6435
- PyObject * * base = (PyObject * * )frame ;
6436
6435
// Make sure that this is, indeed, the top frame. We can't check this in
6437
6436
// _PyThreadState_PopFrame, since f_code is already cleared at that point:
6438
- assert (base + frame -> f_code -> co_framesize == tstate -> datastack_top );
6437
+ assert ((PyObject * * )frame + frame -> f_code -> co_framesize ==
6438
+ tstate -> datastack_top );
6439
6439
tstate -> recursion_remaining -- ;
6440
6440
assert (frame -> frame_obj == NULL || frame -> frame_obj -> f_frame == frame );
6441
6441
assert (frame -> owner == FRAME_OWNED_BY_THREAD );
You can’t perform that action at this time.
0 commit comments