]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
[3.13] Docs: Fix a grammatical error in `Doc/c-api/arg.rst` (GH-140525) (GH-140539)
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Fri, 24 Oct 2025 12:24:41 +0000 (14:24 +0200)
committerGitHub <noreply@github.com>
Fri, 24 Oct 2025 12:24:41 +0000 (12:24 +0000)
Docs: Fix a grammatical error in `Doc/c-api/arg.rst` (GH-140525)

"have" -> "has"
(cherry picked from commit fc2e23c2ed25bb7b23cf8a870a2e21f012735507)

Co-authored-by: RayXu <140802139+F18-Maverick@users.noreply.github.com>
Doc/c-api/arg.rst

index 9420ae050814c509140fee87c67aec6c06dbd6b4..6f74eff71d00e349455df9b8e5377c108505ff61 100644 (file)
@@ -160,7 +160,7 @@ There are three ways strings and buffers can be converted to C:
 ``w*`` (read-write :term:`bytes-like object`) [Py_buffer]
    This format accepts any object which implements the read-write buffer
    interface. It fills a :c:type:`Py_buffer` structure provided by the caller.
-   The buffer may contain embedded null bytes. The caller have to call
+   The buffer may contain embedded null bytes. The caller has to call
    :c:func:`PyBuffer_Release` when it is done with the buffer.
 
 ``es`` (:class:`str`) [const char \*encoding, char \*\*buffer]