diff options
author | Brandt Bucher <brandtbucher@microsoft.com> | 2022-03-04 12:41:17 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-03-04 12:41:17 (GMT) |
commit | 586b24d3be1aec5d2568b070a249b4d75e608782 (patch) | |
tree | e5e92e960433634f839118b51039a3fec3429d3e /Lib/opcode.py | |
parent | 03c2a36b2bd2d4469160d1607619ee144175d753 (diff) | |
download | cpython-586b24d3be1aec5d2568b070a249b4d75e608782.zip cpython-586b24d3be1aec5d2568b070a249b4d75e608782.tar.gz cpython-586b24d3be1aec5d2568b070a249b4d75e608782.tar.bz2 |
bpo-46841: Fix error message hacks in `GET_AWAITABLE` (GH-31664)
Diffstat (limited to 'Lib/opcode.py')
-rw-r--r-- | Lib/opcode.py | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/Lib/opcode.py b/Lib/opcode.py index f6e2dec..3675780 100644 --- a/Lib/opcode.py +++ b/Lib/opcode.py @@ -92,7 +92,6 @@ def_op('GET_YIELD_FROM_ITER', 69) def_op('PRINT_EXPR', 70) def_op('LOAD_BUILD_CLASS', 71) -def_op('GET_AWAITABLE', 73) def_op('LOAD_ASSERTION_ERROR', 74) def_op('RETURN_GENERATOR', 75) @@ -153,7 +152,7 @@ jabs_op('JUMP_IF_NOT_EG_MATCH', 127) jabs_op('POP_JUMP_IF_NOT_NONE', 128) jabs_op('POP_JUMP_IF_NONE', 129) def_op('RAISE_VARARGS', 130) # Number of raise arguments (1, 2, or 3) - +def_op('GET_AWAITABLE', 131) def_op('MAKE_FUNCTION', 132) # Flags def_op('BUILD_SLICE', 133) # Number of items jabs_op('JUMP_NO_INTERRUPT', 134) # Target byte offset from beginning of code |