]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
[3.13] Docs: Fix a grammatical error in `Doc/c-api/capsule.rst` (GH-140577) (GH-140581)
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Sat, 25 Oct 2025 14:03:25 +0000 (16:03 +0200)
committerGitHub <noreply@github.com>
Sat, 25 Oct 2025 14:03:25 +0000 (14:03 +0000)
Docs: Fix a grammatical error in `Doc/c-api/capsule.rst` (GH-140577)

"who" -> "which"
(cherry picked from commit 4ad599501fe8ec58ef2842d26330696820b2cc5c)

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

index 64dc4f5275b512cfd041df7c663118fabf3e040a..6da020efc7f27cd17c0a8e1fa509fa4f1f8f5cee 100644 (file)
@@ -15,7 +15,7 @@ Refer to :ref:`using-capsules` for more information on using these objects.
 .. c:type:: PyCapsule
 
    This subtype of :c:type:`PyObject` represents an opaque value, useful for C
-   extension modules who need to pass an opaque value (as a :c:expr:`void*`
+   extension modules which need to pass an opaque value (as a :c:expr:`void*`
    pointer) through Python code to other C code.  It is often used to make a C
    function pointer defined in one module available to other modules, so the
    regular import mechanism can be used to access C APIs defined in dynamically