8000 Fix wording · python/cpython@5348cbe · GitHub
[go: up one dir, main page]

Skip to content

Commit 5348cbe

Browse files
committed
Fix wording
1 parent afdf25e commit 5348cbe

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

Doc/library/dis.rst

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1351,8 +1351,9 @@ iterations of the loop.
13511351
Equivalent to ``TOS = TOS1.send(TOS)``. Used in ``yield from`` and ``await``
13521352
statements.
13531353

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

13571358
.. versionadded:: 3.11
13581359

0 commit comments

Comments
 (0)
0