diff options
author | Victor Stinner <vstinner@python.org> | 2023-07-26 23:41:15 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-07-26 23:41:15 (GMT) |
commit | 391e03fa05b80d17a14ac88d30c974fa2fa00adb (patch) | |
tree | ed5ff8d9e0ac450363daf39fa48c62ef78f5d871 /Doc/c-api/buffer.rst | |
parent | 507d8bc39a79e965fa32aa08caa568f3399e1472 (diff) | |
download | cpython-391e03fa05b80d17a14ac88d30c974fa2fa00adb.zip cpython-391e03fa05b80d17a14ac88d30c974fa2fa00adb.tar.gz cpython-391e03fa05b80d17a14ac88d30c974fa2fa00adb.tar.bz2 |
gh-107298: Fix Sphinx warnings in the C API doc (#107302)
* Update Doc/tools/.nitignore
* Fix BufferedIOBase.write() link in buffer.rst
Diffstat (limited to 'Doc/c-api/buffer.rst')
-rw-r--r-- | Doc/c-api/buffer.rst | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Doc/c-api/buffer.rst b/Doc/c-api/buffer.rst index 6e5443f..02b53ec 100644 --- a/Doc/c-api/buffer.rst +++ b/Doc/c-api/buffer.rst @@ -44,7 +44,7 @@ the elements exposed by an :class:`array.array` can be multi-byte values. An example consumer of the buffer interface is the :meth:`~io.BufferedIOBase.write` method of file objects: any object that can export a series of bytes through -the buffer interface can be written to a file. While :meth:`write` only +the buffer interface can be written to a file. While :meth:`!write` only needs read-only access to the internal contents of the object passed to it, other methods such as :meth:`~io.BufferedIOBase.readinto` need write access to the contents of their argument. The buffer interface allows objects to |