gh-107298: Fix Sphinx warnings in the C API doc (#107302)

* Update Doc/tools/.nitignore
* Fix BufferedIOBase.write() link in buffer.rst
This commit is contained in:
Victor Stinner 2023-07-27 01:41:15 +02:00 committed by GitHub
parent 507d8bc39a
commit 391e03fa05
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
12 changed files with 26 additions and 33 deletions

View file

@ -19,7 +19,7 @@ sentinel value is returned.
types.
.. c:function:: int PySeqIter_Check(op)
.. c:function:: int PySeqIter_Check(PyObject *op)
Return true if the type of *op* is :c:data:`PySeqIter_Type`. This function
always succeeds.
@ -38,7 +38,7 @@ sentinel value is returned.
two-argument form of the :func:`iter` built-in function.
.. c:function:: int PyCallIter_Check(op)
.. c:function:: int PyCallIter_Check(PyObject *op)
Return true if the type of *op* is :c:data:`PyCallIter_Type`. This
function always succeeds.