From 6194bb3ef723bcc83d1c6514ce537871a4417e01 Mon Sep 17 00:00:00 2001 From: Yury Selivanov Date: Thu, 9 Jun 2016 18:05:13 -0400 Subject: [PATCH] PEP 492: Add a link to Python docs about __aiter__ --- pep-0492.txt | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/pep-0492.txt b/pep-0492.txt index c84c4f86a..fabe37446 100644 --- a/pep-0492.txt +++ b/pep-0492.txt @@ -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 ===============