From 1ff863d7c50539de7fbedbfaeddc8d0ceb77a0f9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andr=C3=A9s=20Delfino?= Date: Fri, 3 Aug 2018 12:22:32 -0300 Subject: [PATCH] Fix grammer of asynchronous iterator glossary entry --- Doc/glossary.rst | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Doc/glossary.rst b/Doc/glossary.rst index 668dbb2a7ce921..69960579f2c04f 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