Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Update docs for END_FOR
  • Loading branch information
markshannon committed Jan 18, 2024
commit 81c64b632ea61a6ec338e85fc253a2c22ed69bc3
4 changes: 2 additions & 2 deletions Doc/library/dis.rst
Original file line number Diff line number Diff line change
Expand Up @@ -546,8 +546,8 @@ operations on it as if it was a Python list. The top of the stack corresponds to

.. opcode:: END_FOR

Removes the top two values from the stack.
Equivalent to ``POP_TOP``; ``POP_TOP``.
Removes the top-of-stack item.
Equivalent to ``POP_TOP``.
Used to clean up at the end of loops, hence the name.

.. versionadded:: 3.12
Expand Down