Skip to content

Commit e32166d

Browse files
committed
fix handling error from instrumentation call
1 parent 159b2aa commit e32166d

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

Python/bytecodes.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1606,7 +1606,7 @@ dummy_func(
16061606
tstate, PY_MONITORING_EVENT_C_RETURN,
16071607
frame, next_instr-1, global_super, arg);
16081608
if (err < 0) {
1609-
Py_CLEAR(res);
1609+
Py_CLEAR(super);
16101610
}
16111611
}
16121612
}

Python/generated_cases.c.h

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)