Skip to content
Prev Previous commit
Next Next commit
Fix wording
  • Loading branch information
brandtbucher committed Aug 17, 2022
commit 5348cbee031d32f9b7b8cb82770fcac43d408248
5 changes: 3 additions & 2 deletions Doc/library/dis.rst
Original file line number Diff line number Diff line change
Expand Up @@ -1351,8 +1351,9 @@ iterations of the loop.
Equivalent to ``TOS = TOS1.send(TOS)``. Used in ``yield from`` and ``await``
statements.

If the call raises :exc:`StopIteration`, pop both values, push its return
value, and increment the bytecode counter by *delta*.
If the call raises :exc:`StopIteration`, pop both items, push the
exception's ``value`` attribute, and increment the bytecode counter by
*delta*.

.. versionadded:: 3.11

Expand Down