mirror of
https://github.com/python/cpython.git
synced 2025-08-04 00:48:58 +00:00
More minor fixes to C API docs (GH-31525)
* wording fixes in type.rst * grammar and punctuation in sys.rst * set: grammar fixes * structures: capitalization fix * grammar fixes for sequence * objects: point to Py_TYPE instead of direct object access * numbers: add more explicit Python equivalences * method: add missing period * memory: grammar fix * mapping: grammar fixes * long: grammar fix * iter: fix grammar for PyAIter_Check * init: grammar fix
This commit is contained in:
parent
6066739ff7
commit
897bc6f928
13 changed files with 30 additions and 29 deletions
|
@ -14,8 +14,8 @@ There are two functions specifically for working with iterators.
|
|||
|
||||
.. 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.
|
||||
Return non-zero if the object *o* provides the :class:`AsyncIterator`
|
||||
protocol, and ``0`` otherwise. This function always succeeds.
|
||||
|
||||
.. versionadded:: 3.10
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue