@@ -635,6 +635,28 @@ iterations of the loop.
635635
636636 .. versionadded :: 3.11
637637
638+ .. opcode :: CHECK_EG_MATCH
639+
640+ Performs exception matching for ``except* ``. Applies ``split(TOS) `` on
641+ the exception group representing TOS1.
642+
643+ In case of a match, pops two items from the stack and pushes the
644+ non-matching subgroup (``None `` in case of full match) followed by the
645+ matching subgroup. When there is no match, pops one item (the match
646+ type) and pushes ``None ``.
647+
648+ .. versionadded :: 3.11
649+
650+ .. opcode :: PREP_RERAISE_STAR
651+
652+ Combines the raised and reraised exceptions list from TOS, into an exception
653+ group to propagate from a try-except* block. Uses the original exception
654+ group from TOS1 to reconstruct the structure of reraised exceptions. Pops
655+ two items from the stack and pushes the exception to reraise or ``None ``
656+ if there isn't one.
657+
658+ .. versionadded :: 3.11
659+
638660.. opcode :: WITH_EXCEPT_START
639661
640662 Calls the function in position 4 on the stack with arguments (type, val, tb)
@@ -922,18 +944,6 @@ iterations of the loop.
922944 .. versionadded :: 3.1
923945
924946
925- .. opcode :: JUMP_IF_NOT_EG_MATCH (target)
926-
927- Performs exception matching for ``except* ``. Applies ``split(TOS) `` on
928- the exception group representing TOS1. Jumps if no match is found.
929-
930- Pops one item from the stack (the match type). If a match was found,
931- next item (the exception) and pushes the non-matching part of the
932- exception group followed by the matching part.
933-
934- .. versionadded :: 3.11
935-
936-
937947.. opcode :: POP_JUMP_IF_NOT_NONE (target)
938948
939949 If TOS is not none, sets the bytecode counter to *target *. TOS is popped.
@@ -948,17 +958,6 @@ iterations of the loop.
948958 .. versionadded :: 3.11
949959
950960
951- .. opcode :: PREP_RERAISE_STAR
952-
953- Combines the raised and reraised exceptions list from TOS, into an exception
954- group to propagate from a try-except* block. Uses the original exception
955- group from TOS1 to reconstruct the structure of reraised exceptions. Pops
956- two items from the stack and pushes the exception to reraise or ``None ``
957- if there isn't one.
958-
959- .. versionadded :: 3.11
960-
961-
962961.. opcode :: JUMP_IF_TRUE_OR_POP (target)
963962
964963 If TOS is true, sets the bytecode counter to *target * and leaves TOS on the
0 commit comments