PEP 492: Add a link to Python docs about __aiter__

This commit is contained in:
Yury Selivanov 2016-06-09 18:05:13 -04:00
parent e6f60d8dce
commit 6194bb3ef7
1 changed files with 4 additions and 2 deletions

View File

@ -69,7 +69,7 @@ API Design and Implementation Revisions
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 @@ In 3.5.2 (as PEP 492 was accepted on a provisional basis) the
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 @@ References
.. [19] http://bugs.python.org/issue27243
.. [20] https://docs.python.org/3/reference/datamodel.html#async-iterators
Acknowledgments
===============