@@ -12,31 +12,31 @@ are always available. They are listed here in alphabetical order.
1212+=========================+=======================+=======================+=========================+
1313| | **A ** | | **E ** | | **L ** | | **R ** |
1414| | :func: `abs ` | | :func: `enumerate ` | | :func: `len ` | | |func-range |_ |
15- | | :func: `all ` | | :func: `eval ` | | |func-list |_ | | :func: `repr ` |
16- | | :func: `any ` | | :func: `exec ` | | :func: `locals ` | | :func: `reversed ` |
17- | | :func: `ascii ` | | | | | | :func: `round ` |
18- | | | | **F ** | | **M ** | | |
19- | | ** B ** | | :func: `filter ` | | :func: `map ` | | **S ** |
20- | | :func: ` bin ` | | :func: `float ` | | :func: `max ` | | |func-set |_ |
21- | | :func: ` bool ` | | :func: `format ` | | |func-memoryview |_ | | :func: `setattr ` |
22- | | :func: `breakpoint ` | | |func-frozenset |_ | | :func: `min ` | | :func: `slice ` |
23- | | | func-bytearray |_ | | | | | | :func: `sorted ` |
24- | | | func-bytes |_ | | **G ** | | **N ** | | :func: `staticmethod ` |
25- | | | | :func: `getattr ` | | :func: `next ` | | |func-str |_ |
26- | | ** C ** | | :func: `globals ` | | | | :func: `sum ` |
27- | | :func: ` callable ` | | | | **O ** | | :func: `super ` |
28- | | :func: ` chr ` | | **H ** | | :func: `object ` | | |
29- | | :func: `classmethod ` | | :func: `hasattr ` | | :func: `oct ` | | **T ** |
30- | | :func: `compile ` | | :func: `hash ` | | :func: `open ` | | |func-tuple |_ |
31- | | :func: `complex ` | | :func: `help ` | | :func: `ord ` | | :func: `type ` |
32- | | | | :func: `hex ` | | | | |
33- | | ** D ** | | | | **P ** | | **V ** |
34- | | :func: ` delattr ` | | **I ** | | :func: `pow ` | | :func: `vars ` |
35- | | | func-dict |_ | | :func: `id ` | | :func: `print ` | | |
36- | | :func: `dir ` | | :func: `input ` | | :func: `property ` | | **Z ** |
37- | | : func: ` divmod ` | | :func: `int ` | | | | :func: `zip ` |
38- | | | | :func: `isinstance ` | | | | |
39- | | | | :func: `issubclass ` | | | | **_ ** |
15+ | | :func: `aiter ` | | :func: `eval ` | | |func-list |_ | | :func: `repr ` |
16+ | | :func: `all ` | | :func: `exec ` | | :func: `locals ` | | :func: `reversed ` |
17+ | | :func: `any ` | | | | | | :func: `round ` |
18+ | | :func: ` anext ` | | **F ** | | **M ** | | |
19+ | | :func: ` ascii ` | | :func: `filter ` | | :func: `map ` | | **S ** |
20+ | | | | :func: `float ` | | :func: `max ` | | |func-set |_ |
21+ | | ** B ** | | :func: `format ` | | |func-memoryview |_ | | :func: `setattr ` |
22+ | | :func: `bin ` | | |func-frozenset |_ | | :func: `min ` | | :func: `slice ` |
23+ | | : func: ` bool ` | | | | | | :func: `sorted ` |
24+ | | : func: ` breakpoint ` | | **G ** | | **N ** | | :func: `staticmethod ` |
25+ | | | func-bytearray |_ | | :func: `getattr ` | | :func: `next ` | | |func-str |_ |
26+ | | | func-bytes |_ | | :func: `globals ` | | | | :func: `sum ` |
27+ | | | | | | **O ** | | :func: `super ` |
28+ | | ** C ** | | **H ** | | :func: `object ` | | |
29+ | | :func: `callable ` | | :func: `hasattr ` | | :func: `oct ` | | **T ** |
30+ | | :func: `chr ` | | :func: `hash ` | | :func: `open ` | | |func-tuple |_ |
31+ | | :func: `classmethod ` | | :func: `help ` | | :func: `ord ` | | :func: `type ` |
32+ | | :func: ` compile ` | | :func: `hex ` | | | | |
33+ | | :func: ` complex ` | | | | **P ** | | **V ** |
34+ | | | | **I ** | | :func: `pow ` | | :func: `vars ` |
35+ | | ** D ** | | :func: `id ` | | :func: `print ` | | |
36+ | | :func: `delattr ` | | :func: `input ` | | :func: `property ` | | **Z ** |
37+ | | | func-dict |_ | | :func: `int ` | | | | :func: `zip ` |
38+ | | :func: ` dir ` | | :func: `isinstance ` | | | | |
39+ | | :func: ` divmod ` | | :func: `issubclass ` | | | | **_ ** |
4040| | | | :func: `iter ` | | | | :func: `__import__ ` |
4141+-------------------------+-----------------------+-----------------------+-------------------------+
4242
@@ -61,6 +61,17 @@ are always available. They are listed here in alphabetical order.
6161 If the argument is a complex number, its magnitude is returned.
6262
6363
64+ .. function :: aiter(async_iterable)
65+
66+ Return an :term: `asynchronous iterator ` for an :term: `asynchronous iterable `.
67+ Equivalent to calling ``x.__aiter__() ``.
68+
69+ ``aiter(x) `` itself has an ``__aiter__() `` method that returns ``x ``,
70+ so ``aiter(aiter(x)) `` is the same as ``aiter(x) ``.
71+
72+ Note: Unlike :func: `iter `, :func: `aiter ` has no 2-argument variant.
73+
74+
6475.. function :: all(iterable)
6576
6677 Return ``True `` if all elements of the *iterable * are true (or if the iterable
@@ -73,6 +84,20 @@ are always available. They are listed here in alphabetical order.
7384 return True
7485
7586
87+ .. awaitablefunction :: anext(async_iterator[, default])
88+
89+ When awaited, return the next item from the given :term: `asynchronous
90+ iterator `, or *default * if given and the iterator is exhausted.
91+
92+ This is the async variant of the :func: `next ` builtin, and behaves
93+ similarly.
94+
95+ This calls the :meth: `~object.__anext__ ` method of *async_iterator *,
96+ returning an :term: `awaitable `. Awaiting this returns the next value of the
97+ iterator. If *default * is given, it is returned if the iterator is exhausted,
98+ otherwise :exc: `StopAsyncIteration ` is raised.
99+
100+
76101.. function :: any(iterable)
77102
78103 Return ``True `` if any element of the *iterable * is true. If the iterable
0 commit comments