mirror of
https://github.com/python/cpython.git
synced 2025-08-27 12:16:04 +00:00
bpo-46841: Fix error message hacks in GET_AWAITABLE
(GH-31664)
This commit is contained in:
parent
03c2a36b2b
commit
586b24d3be
8 changed files with 37 additions and 32 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue