]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
Fix typo in asynchronous generator iterator documentation (GH-10542)
authorSebastián Ramírez <tiangolo@gmail.com>
Thu, 15 Nov 2018 05:51:56 +0000 (09:51 +0400)
committerMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Thu, 15 Nov 2018 05:51:56 +0000 (21:51 -0800)
Remove an unnecessary "that":
... will execute that the body ... ->  ... will execute the body ...

Doc/glossary.rst

index be20f2be947b475bf28d785df3112d645c094973..daa98a5f910e9d695a9872f872299ede020cb1b4 100644 (file)
@@ -112,8 +112,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