]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
Fix typo in asynchronous generator iterator documentation (GH-10542)
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Thu, 15 Nov 2018 06:20:51 +0000 (22:20 -0800)
committerGitHub <noreply@github.com>
Thu, 15 Nov 2018 06:20:51 +0000 (22:20 -0800)
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>
Doc/glossary.rst

index 3981750e6082edfd42abc93f40dcb1c9eca214ac..2aab8bf6cdc46c47aa9db055905f987ea6c797eb 100644 (file)
@@ -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