]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
[doc] Remove reference to obsolute opcode (GH-27402)
authorDennis Sweeney <36520290+sweeneyde@users.noreply.github.com>
Wed, 28 Jul 2021 19:12:17 +0000 (15:12 -0400)
committerGitHub <noreply@github.com>
Wed, 28 Jul 2021 19:12:17 +0000 (20:12 +0100)
Doc/library/dis.rst

index 08730c4d993517500678a8a5f38791d3b39dccfb..6d71398ffb238fe6fed0528eda3e5f672319e847 100644 (file)
@@ -741,7 +741,7 @@ iterations of the loop.
 
    This opcode performs several operations before a with block starts.  First,
    it loads :meth:`~object.__exit__` from the context manager and pushes it onto
-   the stack for later use by :opcode:`WITH_CLEANUP_START`.  Then,
+   the stack for later use by :opcode:`WITH_EXCEPT_START`.  Then,
    :meth:`~object.__enter__` is called, and a finally block pointing to *delta*
    is pushed.  Finally, the result of calling the ``__enter__()`` method is pushed onto
    the stack.  The next opcode will either ignore it (:opcode:`POP_TOP`), or