]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
Improve grammar of asynchronous iterator glossary entry (GH-8657)
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Thu, 9 Aug 2018 16:08:49 +0000 (09:08 -0700)
committerGitHub <noreply@github.com>
Thu, 9 Aug 2018 16:08:49 +0000 (09:08 -0700)
(cherry picked from commit cf2c5e8e2867e41d34079b2e464bbbe653fb7981)

Co-authored-by: Andrés Delfino <adelfino@gmail.com>
Doc/glossary.rst

index 668dbb2a7ce92153195030b9efae97224521d97a..69960579f2c04f97c49dab3f6e5b92438510c02d 100644 (file)
@@ -123,10 +123,10 @@ Glossary
       :meth:`__aiter__` method.  Introduced by :pep:`492`.
 
    asynchronous iterator
-      An object that implements :meth:`__aiter__` and :meth:`__anext__`
+      An object that implements the :meth:`__aiter__` and :meth:`__anext__`
       methods.  ``__anext__`` must return an :term:`awaitable` object.
-      :keyword:`async for` resolves awaitable returned from asynchronous
-      iterator's :meth:`__anext__` method until it raises
+      :keyword:`async for` resolves the awaitables returned by an asynchronous
+      iterator's :meth:`__anext__` method until it raises a
       :exc:`StopAsyncIteration` exception.  Introduced by :pep:`492`.
 
    attribute