[Python-checkins] peps: PEP 492: Add a link to Python docs about __aiter__

yury.selivanov python-checkins at python.org
Thu Jun 9 18:05:19 EDT 2016


https://hg.python.org/peps/rev/e40c40fe09d5
changeset:   6364:e40c40fe09d5
user:        Yury Selivanov <yury at magic.io>
date:        Thu Jun 09 18:05:13 2016 -0400
summary:
  PEP 492: Add a link to Python docs about __aiter__

files:
  pep-0492.txt |  6 ++++--
  1 files changed, 4 insertions(+), 2 deletions(-)


diff --git a/pep-0492.txt b/pep-0492.txt
--- a/pep-0492.txt
+++ b/pep-0492.txt
@@ -69,7 +69,7 @@
    supported: a ``RuntimeError`` will be raised if ``__aiter__``
    returns anything but an asynchronous iterator.
 
-   See [19]_ for more details.
+   See [19]_ and [20]_ for more details.
 
 
 Rationale and Goals
@@ -1074,7 +1074,7 @@
 directly.
 
 The motivation behind this change is to make it possible to
-implement asynchronous generators in Python.  See [19]_ for
+implement asynchronous generators in Python.  See [19]_ and [20]_ for
 more details.
 
 
@@ -1439,6 +1439,8 @@
 
 .. [19] http://bugs.python.org/issue27243
 
+.. [20] https://docs.python.org/3/reference/datamodel.html#async-iterators
+
 Acknowledgments
 ===============
 

-- 
Repository URL: https://hg.python.org/peps


More information about the Python-checkins mailing list