summaryrefslogtreecommitdiffstats
path: root/Python/generated_cases.c.h
diff options
context:
space:
mode:
authorIrit Katriel <1055913+iritkatriel@users.noreply.github.com>2023-10-26 15:30:18 (GMT)
committerGitHub <noreply@github.com>2023-10-26 15:30:18 (GMT)
commita0c414c35d0dc0d44a885fda448652e23de2482c (patch)
tree014f5cb67924fcc0ac17d97aeb879dc05a6ccac0 /Python/generated_cases.c.h
parent309efb39dc005a834bb67e9a6f27b6689f00ec9d (diff)
downloadcpython-a0c414c35d0dc0d44a885fda448652e23de2482c.zip
cpython-a0c414c35d0dc0d44a885fda448652e23de2482c.tar.gz
cpython-a0c414c35d0dc0d44a885fda448652e23de2482c.tar.bz2
gh-111354: define names for RESUME oparg values (#111365)
Diffstat (limited to 'Python/generated_cases.c.h')
-rw-r--r--Python/generated_cases.c.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/Python/generated_cases.c.h b/Python/generated_cases.c.h
index 3ae1a58..d5e0d84 100644
--- a/Python/generated_cases.c.h
+++ b/Python/generated_cases.c.h
@@ -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;