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

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


https://github.com/python/cpython/commit/b6b56b49e9d9b3e0e8b7bc24a6b1a55db6bc1da0
commit: b6b56b49e9d9b3e0e8b7bc24a6b1a55db6bc1da0
branch: 3.7
author: Miss Islington (bot) <31488909+miss-islington at users.noreply.github.com>
committer: GitHub <noreply at github.com>
date: 2018-11-14T22:20:16-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 ace7e6405e02..b8d98dd34c13 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