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/ceval.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/ceval.c')
-rw-r--r-- | Python/ceval.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Python/ceval.c b/Python/ceval.c index 61f83871016..e3a7c5f3840 100644 --- a/Python/ceval.c +++ b/Python/ceval.c @@ -643,7 +643,7 @@ static const _Py_CODEUNIT _Py_INTERPRETER_TRAMPOLINE_INSTRUCTIONS[] = { { .op.code = INTERPRETER_EXIT, .op.arg = 0 }, /* reached on return */ { .op.code = NOP, .op.arg = 0 }, { .op.code = INTERPRETER_EXIT, .op.arg = 0 }, /* reached on yield */ - { .op.code = RESUME, .op.arg = 0 } + { .op.code = RESUME, .op.arg = RESUME_AT_FUNC_START } }; extern const struct _PyCode_DEF(8) _Py_InitCleanup; |