diff options
author | Irit Katriel <1055913+iritkatriel@users.noreply.github.com> | 2023-10-26 16:30:18 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-10-26 16:30:18 +0100 |
commit | a0c414c35d0dc0d44a885fda448652e23de2482c (patch) | |
tree | 014f5cb67924fcc0ac17d97aeb879dc05a6ccac0 /Python/bytecodes.c | |
parent | 309efb39dc005a834bb67e9a6f27b6689f00ec9d (diff) | |
download | cpython-a0c414c35d0dc0d44a885fda448652e23de2482c.tar.gz cpython-a0c414c35d0dc0d44a885fda448652e23de2482c.zip |
gh-111354: define names for RESUME oparg values (#111365)
Diffstat (limited to 'Python/bytecodes.c')
-rw-r--r-- | Python/bytecodes.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Python/bytecodes.c b/Python/bytecodes.c index e101efaae4c..2d7b5ba21ea 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; |