https://github.com/python/cpython/commit/fc2e23c2ed25bb7b23cf8a870a2e21f012735507
commit: fc2e23c2ed25bb7b23cf8a870a2e21f012735507
branch: main
author: RayXu <[email protected]>
committer: ZeroIntensity <[email protected]>
date: 2025-10-24T08:17:52-04:00
summary:
Docs: Fix a grammatical error in `Doc/c-api/arg.rst` (GH-140525)
"have" -> "has"
files:
M Doc/c-api/arg.rst
diff --git a/Doc/c-api/arg.rst b/Doc/c-api/arg.rst
index 28bf04651bd173..fd6be6a9b67a03 100644
--- a/Doc/c-api/arg.rst
+++ b/Doc/c-api/arg.rst
@@ -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]
_______________________________________________
Python-checkins mailing list -- [email protected]
To unsubscribe send an email to [email protected]
https://mail.python.org/mailman3//lists/python-checkins.python.org
Member address: [email protected]