https://github.com/python/cpython/commit/09cc93dc67f9def0f22310e26e6d8d7a942fb3ce
commit: 09cc93dc67f9def0f22310e26e6d8d7a942fb3ce
branch: 3.13
author: Miss Islington (bot) <[email protected]>
committer: ZeroIntensity <[email protected]>
date: 2025-11-07T14:16:14Z
summary:

[3.13] gh-141004: Document `PyCapsule_Type` (GH-141079) (GH-141198)

gh-141004: Document `PyCapsule_Type` (GH-141079)
(cherry picked from commit 7af9b5354dd7633df422b9f720633989b3090199)

Co-authored-by: Peter Bierma <[email protected]>

files:
M Doc/c-api/capsule.rst

diff --git a/Doc/c-api/capsule.rst b/Doc/c-api/capsule.rst
index 6da020efc7f27c..03a848d68ed7ab 100644
--- a/Doc/c-api/capsule.rst
+++ b/Doc/c-api/capsule.rst
@@ -22,6 +22,12 @@ Refer to :ref:`using-capsules` for more information on using 
these objects.
    loaded modules.
 
 
+.. c:var:: PyTypeObject PyCapsule_Type
+
+   The type object corresponding to capsule objects. This is the same object
+   as :class:`types.CapsuleType` in the Python layer.
+
+
 .. c:type:: PyCapsule_Destructor
 
    The type of a destructor callback for a capsule.  Defined as::

_______________________________________________
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]

Reply via email to