diff options
author | Irit Katriel <iritkatriel@yahoo.com> | 2021-01-26 10:17:13 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-01-26 10:17:13 (GMT) |
commit | dea5bf9d15999bfcc58095b157c0678d45b00bdd (patch) | |
tree | 026c0c7cd0b1c05213b350801bec7c24ae4edbbb /Doc/library/dis.rst | |
parent | c92cd0f3c8bab4e26a95cd29c127668907ff0869 (diff) | |
download | cpython-dea5bf9d15999bfcc58095b157c0678d45b00bdd.zip cpython-dea5bf9d15999bfcc58095b157c0678d45b00bdd.tar.gz cpython-dea5bf9d15999bfcc58095b157c0678d45b00bdd.tar.bz2 |
bpo-33387: update documentation for exception handling opcode changes (GH-24334)
* bpo-33387: remove obsolete comment
* bpo-33387: update SETUP_WITH opcode documentation
Diffstat (limited to 'Doc/library/dis.rst')
-rw-r--r-- | Doc/library/dis.rst | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Doc/library/dis.rst b/Doc/library/dis.rst index c09d833..f3b2538 100644 --- a/Doc/library/dis.rst +++ b/Doc/library/dis.rst @@ -742,7 +742,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 |