mirror of
https://github.com/python/cpython.git
synced 2025-08-30 13:38:43 +00:00
gh-111354: define names for RESUME oparg values (#111365)
This commit is contained in:
parent
309efb39dc
commit
a0c414c35d
7 changed files with 16 additions and 8 deletions
2
Python/generated_cases.c.h
generated
2
Python/generated_cases.c.h
generated
|
@ -23,7 +23,7 @@
|
|||
next_instr--;
|
||||
}
|
||||
else {
|
||||
if (oparg < 2) {
|
||||
if (oparg < RESUME_AFTER_YIELD_FROM) {
|
||||
CHECK_EVAL_BREAKER();
|
||||
}
|
||||
next_instr[-1].op.code = RESUME_CHECK;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue