]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
Docs: Fix a grammatical error in `Doc/c-api/capsule.rst` (GH-140577)
authorRayXu <140802139+F18-Maverick@users.noreply.github.com>
Sat, 25 Oct 2025 13:54:52 +0000 (21:54 +0800)
committerGitHub <noreply@github.com>
Sat, 25 Oct 2025 13:54:52 +0000 (09:54 -0400)
"who" -> "which"

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