diff options
author | penguin_wwy <940375606@qq.com> | 2022-01-06 11:38:35 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-01-06 11:38:35 (GMT) |
commit | 3db762db72cc0da938614b1e414abb1e12ca4094 (patch) | |
tree | eef08b55d931522d2f83ed7b6f2383d27d8a4ffe /Lib/opcode.py | |
parent | 35d6540c904ef07b8602ff014e520603f84b5886 (diff) | |
download | cpython-3db762db72cc0da938614b1e414abb1e12ca4094.zip cpython-3db762db72cc0da938614b1e414abb1e12ca4094.tar.gz cpython-3db762db72cc0da938614b1e414abb1e12ca4094.tar.bz2 |
bpo-46031: add POP_JUMP_IF_NOT_NONE and POP_JUMP_IF_NONE (GH-30019)
Diffstat (limited to 'Lib/opcode.py')
-rw-r--r-- | Lib/opcode.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Lib/opcode.py b/Lib/opcode.py index f99e20a..6030743 100644 --- a/Lib/opcode.py +++ b/Lib/opcode.py @@ -148,9 +148,9 @@ def_op('STORE_FAST', 125) # Local variable number haslocal.append(125) def_op('DELETE_FAST', 126) # Local variable number haslocal.append(126) - 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('MAKE_FUNCTION', 132) # Flags |