summaryrefslogtreecommitdiffstats
path: root/Python/bytecodes.c
diff options
context:
space:
mode:
Diffstat (limited to 'Python/bytecodes.c')
-rw-r--r--Python/bytecodes.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Python/bytecodes.c b/Python/bytecodes.c
index e101efa..2d7b5ba 100644
--- a/Python/bytecodes.c
+++ b/Python/bytecodes.c
@@ -147,7 +147,7 @@ dummy_func(
next_instr--;
}
else {
- if (oparg < 2) {
+ if (oparg < RESUME_AFTER_YIELD_FROM) {
CHECK_EVAL_BREAKER();
}
next_instr[-1].op.code = RESUME_CHECK;