File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -742,7 +742,7 @@ iterations of the loop.
742742
743743 This opcode performs several operations before a with block starts. First,
744744 it loads :meth: `~object.__exit__ ` from the context manager and pushes it onto
745- the stack for later use by :opcode: `WITH_CLEANUP_START `. Then,
745+ the stack for later use by :opcode: `WITH_EXCEPT_START `. Then,
746746 :meth: `~object.__enter__ ` is called, and a finally block pointing to *delta *
747747 is pushed. Finally, the result of calling the ``__enter__() `` method is pushed onto
748748 the stack. The next opcode will either ignore it (:opcode: `POP_TOP `), or
Original file line number Diff line number Diff line change @@ -898,8 +898,6 @@ compiler_next_instr(basicblock *b)
898898 * 1 -- when jump
899899 * -1 -- maximal
900900 */
901- /* XXX Make the stack effect of WITH_CLEANUP_START and
902- WITH_CLEANUP_FINISH deterministic. */
903901static int
904902stack_effect (int opcode , int oparg , int jump )
905903{
You can’t perform that action at this time.
0 commit comments