We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4ccccb1 commit 7989e9dCopy full SHA for 7989e9d
Doc/library/dis.rst
@@ -584,12 +584,14 @@ iterations of the loop.
584
585
.. opcode:: WITH_EXCEPT_START
586
587
- Calls the function in position 7 on the stack with the top three
+ Calls the function in position 8 on the stack with the top three
588
items on the stack as arguments.
589
Used to implement the call ``context_manager.__exit__(*exc_info())`` when an exception
590
has occurred in a :keyword:`with` statement.
591
592
.. versionadded:: 3.9
593
+ .. versionchanged:: 3.11
594
+ The ``__exit__`` function is in position 8 of the stack rather than 7.
595
596
597
.. opcode:: POP_EXCEPT_AND_RERAISE
0 commit comments