[Python-checkins] [doc] Remove reference to obsolute opcode (GH-27402)

iritkatriel webhook-mailer at python.org
Wed Jul 28 15:12:22 EDT 2021


https://github.com/python/cpython/commit/7d77368807cfe4c9ba10edad06ebd070cc782d20
commit: 7d77368807cfe4c9ba10edad06ebd070cc782d20
branch: 3.9
author: Dennis Sweeney <36520290+sweeneyde at users.noreply.github.com>
committer: iritkatriel <1055913+iritkatriel at users.noreply.github.com>
date: 2021-07-28T20:12:17+01:00
summary:

[doc] Remove reference to obsolute opcode (GH-27402)

files:
M Doc/library/dis.rst

diff --git a/Doc/library/dis.rst b/Doc/library/dis.rst
index 08730c4d99351..6d71398ffb238 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



More information about the Python-checkins mailing list