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

"who" -> "which"
This commit is contained in:
RayXu 2025-10-25 21:54:52 +08:00 committed by GitHub
parent d78d7a50b0
commit 4ad599501f
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View 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