[Python-checkins] Improve grammar of asynchronous iterator glossary entry (GH-8657)
Miss Islington (bot)
webhook-mailer at python.org
Thu Aug 9 12:08:52 EDT 2018
https://github.com/python/cpython/commit/426135b6748c36ffcc346dbccf5be863776df52f
commit: 426135b6748c36ffcc346dbccf5be863776df52f
branch: 3.7
author: Miss Islington (bot) <31488909+miss-islington at users.noreply.github.com>
committer: GitHub <noreply at github.com>
date: 2018-08-09T09:08:49-07:00
summary:
Improve grammar of asynchronous iterator glossary entry (GH-8657)
(cherry picked from commit cf2c5e8e2867e41d34079b2e464bbbe653fb7981)
Co-authored-by: Andrés Delfino <adelfino at gmail.com>
files:
M Doc/glossary.rst
diff --git a/Doc/glossary.rst b/Doc/glossary.rst
index 668dbb2a7ce9..69960579f2c0 100644
--- a/Doc/glossary.rst
+++ b/Doc/glossary.rst
@@ -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
More information about the Python-checkins
mailing list