]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
Docs: Fix a grammatical error in `Doc/c-api/arg.rst` (GH-140525)
authorRayXu <140802139+F18-Maverick@users.noreply.github.com>
Fri, 24 Oct 2025 12:17:52 +0000 (20:17 +0800)
committerGitHub <noreply@github.com>
Fri, 24 Oct 2025 12:17:52 +0000 (08:17 -0400)
"have" -> "has"

Doc/c-api/arg.rst

index 28bf04651bd1737c557ce231b2240305744e3750..fd6be6a9b67a03133339dea6cadc686984d96186 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]