mirror of
https://github.com/python/cpython.git
synced 2025-11-02 03:01:58 +00:00
bpo-46031: add POP_JUMP_IF_NOT_NONE and POP_JUMP_IF_NONE (GH-30019)
This commit is contained in:
parent
35d6540c90
commit
3db762db72
9 changed files with 86 additions and 14 deletions
|
|
@ -896,6 +896,20 @@ All of the following opcodes use their arguments.
|
|||
.. versionadded:: 3.11
|
||||
|
||||
|
||||
.. opcode:: POP_JUMP_IF_NOT_NONE (target)
|
||||
|
||||
If TOS is not none, sets the bytecode counter to *target*. TOS is popped.
|
||||
|
||||
.. versionadded:: 3.11
|
||||
|
||||
|
||||
.. opcode:: POP_JUMP_IF_NONE (target)
|
||||
|
||||
If TOS is none, sets the bytecode counter to *target*. TOS is popped.
|
||||
|
||||
.. versionadded:: 3.11
|
||||
|
||||
|
||||
.. opcode:: PREP_RERAISE_STAR
|
||||
|
||||
Combines the raised and reraised exceptions list from TOS, into an exception
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue