Return non-zero if the object *o* supports the iterator protocol, and ``0``
otherwise. This function always succeeds.
+.. c:function:: int PyAiter_Check(PyObject *o)
+
+ Returns non-zero if the object 'obj' provides :class:`AsyncIterator`
+ protocols, and ``0`` otherwise. This function always succeeds.
+
+ .. versionadded:: 3.10
.. c:function:: PyObject* PyIter_Next(PyObject *o)
iterator for the object argument, or the object itself if the object is already
an iterator. Raises :exc:`TypeError` and returns ``NULL`` if the object cannot be
iterated.
+
+
+.. c:function:: PyObject* PyObject_GetAiter(PyObject *o)
+
+ This is the equivalent to the Python expression ``aiter(o)``. Takes an
+ :class:`AsyncIterable` object and returns an :class:`AsyncIterator` for it.
+ This is typically a new iterator but if the argument is an
+ :class:`AsyncIterator`, this returns itself. Raises :exc:`TypeError` and
+ returns ``NULL`` if the object cannot be iterated.
+
+ .. versionadded:: 3.10
PyIter_Check:int:::
PyIter_Check:PyObject*:o:0:
+PyAiter_Check:int:::
+PyAiter_Check:PyObject*:o:0:
+
PyIter_Next:PyObject*::+1:
PyIter_Next:PyObject*:o:0:
PyObject_GetIter:PyObject*::+1:
PyObject_GetIter:PyObject*:o:0:
+PyObject_GetAiter:PyObject*::+1:
+PyObject_GetAiter:PyObject*:o:0:
+
PyObject_HasAttr:int:::
PyObject_HasAttr:PyObject*:o:0:
PyObject_HasAttr:PyObject*:attr_name:0:
# File generated by 'make regen-limited-abi'
# This is NOT an authoritative list of stable ABI symbols
+PyAiter_Check
PyArg_Parse
PyArg_ParseTuple
PyArg_ParseTupleAndKeywords
PyObject_GenericGetDict
PyObject_GenericSetAttr
PyObject_GenericSetDict
+PyObject_GetAiter
PyObject_GetAttr
PyObject_GetAttrString
PyObject_GetItem
Note: Unlike :func:`iter`, :func:`aiter` has no 2-argument variant.
+ .. versionadded:: 3.10
.. function:: all(iterable)
iterator. If *default* is given, it is returned if the iterator is exhausted,
otherwise :exc:`StopAsyncIteration` is raised.
+ .. versionadded:: 3.10
.. function:: any(iterable)