mirror of
https://github.com/python/cpython.git
synced 2026-01-27 05:05:50 +00:00
[3.14] gh-141004: Document PyCapsule_Type (GH-141079) (GH-141199)
gh-141004: Document `PyCapsule_Type` (GH-141079) (cherry picked from commit 7af9b5354dd7633df422b9f720633989b3090199) Co-authored-by: Peter Bierma <zintensitydev@gmail.com>
This commit is contained in:
parent
28493a5a62
commit
9f8ec95bb0
@ -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::
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user