Skip to content

Commit 7d77368

Browse files
authored
[doc] Remove reference to obsolute opcode (GH-27402)
1 parent 9337c60 commit 7d77368

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Doc/library/dis.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -741,7 +741,7 @@ iterations of the loop.
741741

742742
This opcode performs several operations before a with block starts. First,
743743
it loads :meth:`~object.__exit__` from the context manager and pushes it onto
744-
the stack for later use by :opcode:`WITH_CLEANUP_START`. Then,
744+
the stack for later use by :opcode:`WITH_EXCEPT_START`. Then,
745745
:meth:`~object.__enter__` is called, and a finally block pointing to *delta*
746746
is pushed. Finally, the result of calling the ``__enter__()`` method is pushed onto
747747
the stack. The next opcode will either ignore it (:opcode:`POP_TOP`), or

0 commit comments

Comments
 (0)