Skip to content

Commit dab0df6

Browse files
ZeroIntensitymiss-islington
authored andcommitted
gh-141004: Document PyCapsule_Type (GH-141079)
(cherry picked from commit 7af9b53) Co-authored-by: Peter Bierma <zintensitydev@gmail.com>
1 parent 0923704 commit dab0df6

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

Doc/c-api/capsule.rst

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,12 @@ Refer to :ref:`using-capsules` for more information on using these objects.
2222
loaded modules.
2323

2424

25+
.. c:var:: PyTypeObject PyCapsule_Type
26+
27+
The type object corresponding to capsule objects. This is the same object
28+
as :class:`types.CapsuleType` in the Python layer.
29+
30+
2531
.. c:type:: PyCapsule_Destructor
2632
2733
The type of a destructor callback for a capsule. Defined as::

0 commit comments

Comments
 (0)