bpo-31861: Complete the C-API docs for PyObject_GetAiter and PyAiter_Check (GH-25004)

This commit is contained in:
Pablo Galindo 2021-03-23 23:57:03 +00:00 committed by GitHub
parent a81fca6ec8
commit d9692027f4
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
5 changed files with 27 additions and 0 deletions

View file

@ -71,6 +71,7 @@ are always available. They are listed here in alphabetical order.
Note: Unlike :func:`iter`, :func:`aiter` has no 2-argument variant.
.. versionadded:: 3.10
.. function:: all(iterable)
@ -97,6 +98,7 @@ are always available. They are listed here in alphabetical order.
iterator. If *default* is given, it is returned if the iterator is exhausted,
otherwise :exc:`StopAsyncIteration` is raised.
.. versionadded:: 3.10
.. function:: any(iterable)