Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 754fd74

Browse files
committed
use definition in bytecodes.c as well
1 parent 74a6d8c commit 754fd74

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
@@ -147,7 +147,7 @@ dummy_func(
147147
next_instr--;
148148
}
149149
else {
150-
if (oparg < 2) {
150+
if (oparg < RESUME_AFTER_YIELD_FROM) {
151151
CHECK_EVAL_BREAKER();
152152
}
153153
next_instr[-1].op.code = RESUME_CHECK;

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)