https://github.com/python/cpython/commit/4ad599501fe8ec58ef2842d26330696820b2cc5c
commit: 4ad599501fe8ec58ef2842d26330696820b2cc5c
branch: main
author: RayXu <[email protected]>
committer: ZeroIntensity <[email protected]>
date: 2025-10-25T09:54:52-04:00
summary:
Docs: Fix a grammatical error in `Doc/c-api/capsule.rst` (GH-140577)
"who" -> "which"
files:
M Doc/c-api/capsule.rst
diff --git a/Doc/c-api/capsule.rst b/Doc/c-api/capsule.rst
index 64dc4f5275b512..6da020efc7f27c 100644
--- a/Doc/c-api/capsule.rst
+++ b/Doc/c-api/capsule.rst
@@ -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
_______________________________________________
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]