Docs: Fix a grammatical error in Doc/c-api/arg.rst (GH-140525)

"have" -> "has"
This commit is contained in:
RayXu 2025-10-24 20:17:52 +08:00 committed by GitHub
parent aa4b5a77f3
commit fc2e23c2ed
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View 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]