From: Dennis Sweeney <36520290+sweeneyde@users.noreply.github.com> Date: Wed, 28 Jul 2021 19:12:17 +0000 (-0400) Subject: [doc] Remove reference to obsolute opcode (GH-27402) X-Git-Tag: v3.9.7~115 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=7d77368807cfe4c9ba10edad06ebd070cc782d20;p=thirdparty%2FPython%2Fcpython.git [doc] Remove reference to obsolute opcode (GH-27402) --- diff --git a/Doc/library/dis.rst b/Doc/library/dis.rst index 08730c4d9935..6d71398ffb23 100644 --- a/Doc/library/dis.rst +++ b/Doc/library/dis.rst @@ -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