mirror of
https://github.com/python/cpython.git
synced 2026-04-14 07:41:00 +00:00
[3.14] gh-141004: Document PyCapsule_Type (GH-141079) (GH-141199)
gh-141004: Document `PyCapsule_Type` (GH-141079)
(cherry picked from commit 7af9b5354d)
Co-authored-by: Peter Bierma <zintensitydev@gmail.com>
This commit is contained in:
parent
28493a5a62
commit
9f8ec95bb0
1 changed files with 6 additions and 0 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue