summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>2018-11-15 06:20:51 (GMT)
committerGitHub <noreply@github.com>2018-11-15 06:20:51 (GMT)
commit10a8e113be857c3af170b76d35fff9a72e65adf9 (patch)
treef3b3608fd6266682a886529f6e0ee0665096bcdb
parent137da0c5300c0a196084ab9efa61d116304de224 (diff)
downloadcpython-10a8e113be857c3af170b76d35fff9a72e65adf9.zip
cpython-10a8e113be857c3af170b76d35fff9a72e65adf9.tar.gz
cpython-10a8e113be857c3af170b76d35fff9a72e65adf9.tar.bz2
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 25221b328339fb1726b58742e91b6e49c178023a) Co-authored-by: Sebastián Ramírez <tiangolo@gmail.com>
-rw-r--r--Doc/glossary.rst4
1 files changed, 2 insertions, 2 deletions
diff --git a/Doc/glossary.rst b/Doc/glossary.rst
index 3981750..2aab8bf 100644
--- a/Doc/glossary.rst
+++ b/Doc/glossary.rst
@@ -108,8 +108,8 @@ Glossary
This is an :term:`asynchronous iterator` which when called using the
:meth:`__anext__` method returns an awaitable object which will execute
- that the body of the asynchronous generator function until the
- next :keyword:`yield` expression.
+ the body of the asynchronous generator function until the next
+ :keyword:`yield` expression.
Each :keyword:`yield` temporarily suspends processing, remembering the
location execution state (including local variables and pending