8000 bpo-45250: fix docs regarding `__iter__` and iterators being inconsistently required by CPython by brettcannon · Pull Request #29170 · python/cpython · GitHub
[go: up one dir, main page]

Skip to content

bpo-45250: fix docs regarding __iter__ and iterators being inconsistently required by CPython #29170

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 12 commits into from
Nov 20, 2021
Merged
Prev Previous commit
Next Next commit
Clarify the docs for collections.abc.AsyncIterator
  • Loading branch information
brettcannon committed Oct 26, 2021
commit 1dcceb9503ec3549da393cfb20b95d977590a2b7
5 changes: 3 additions & 2 deletions Doc/library/collections.abc.rst
Original file line number Diff line number Diff line change
Expand Up @@ -334,8 +334,9 @@ Collections Abstract Base Classes -- Detailed Descriptions

.. class:: AsyncIterator

ABC for classes that provide ``__aiter__`` and ``__anext__``
methods. See also the definition of :term:`asynchronous iterator`.
ABC for classes that provide the ``__anext__`` method. An implementation
of ``__aiter__`` is provided for convenience. See also the definition of
:term:`asynchronous iterator`.

.. versionadded:: 3.5

Expand Down
0