From 7564125ed1211d1c890d4a56f5e704528c4f7345 Mon Sep 17 00:00:00 2001 From: "Miss Islington (bot)" <31488909+miss-islington@users.noreply.github.com> Date: Fri, 24 Oct 2025 14:24:41 +0200 Subject: [PATCH] [3.13] Docs: Fix a grammatical error in `Doc/c-api/arg.rst` (GH-140525) (GH-140539) 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 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Doc/c-api/arg.rst b/Doc/c-api/arg.rst index 9420ae050814..6f74eff71d00 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] -- 2.47.3