[Python-checkins] Fix typo in asynchronous generator iterator documentation (GH-10542)

Miss Islington (bot) webhook-mailer at python.org
Thu Nov 15 01:20:54 EST 2018


https://github.com/python/cpython/commit/10a8e113be857c3af170b76d35fff9a72e65adf9
commit: 10a8e113be857c3af170b76d35fff9a72e65adf9
branch: 3.6
author: Miss Islington (bot) <31488909+miss-islington at users.noreply.github.com>
committer: GitHub <noreply at github.com>
date: 2018-11-14T22:20:51-08:00
summary:

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 at gmail.com>

files:
M Doc/glossary.rst

diff --git a/Doc/glossary.rst b/Doc/glossary.rst
index 3981750e6082..2aab8bf6cdc4 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



More information about the Python-checkins mailing list