10000 Fix typo in asynchronous generator iterator documentation (GH-10542) · python/cpython@10a8e11 · GitHub
[go: up one dir, main page]

Skip to content

Commit 10a8e11

Browse files
Fix typo in asynchronous generator iterator documentation (GH-10542)
Remove an unnecessary "that": ... will execute that the body ... -> ... will execute the body ... (cherry picked from commit 25221b3) Co-authored-by: Sebastián Ramírez <tiangolo@gmail.com>
1 parent 137da0c commit 10a8e11

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Doc/glossary.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -108,8 +108,8 @@ Glossary
108108

109109
This is an :term:`asynchronous iterator` which when called using the
110110
:meth:`__anext__` method returns an awaitable object which will execute
111-
that the body of the asynchronous generator function until the
112-
next :keyword:`yield` expression.
111+
the body of the asynchronous generator function until the next
112+
:keyword:`yield` expression.
113113

114114
Each :keyword:`yield` temporarily suspends processing, remembering the
115115
location execution state (including local variables and pending

0 commit comments

Comments
 (0)
0