Skip to content

Commit 56cc9ba

Browse files
[3.13] gh-141004: Document PyModuleDef_Type (GH-145043) (GH-145147)
(cherry picked from commit 24cc998)
1 parent 83ecd18 commit 56cc9ba

File tree

2 files changed

+6
-2
lines changed

2 files changed

+6
-2
lines changed

Doc/c-api/module.rst

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -263,6 +263,12 @@ or request "multi-phase initialization" by returning the definition struct itsel
263263
.. versionchanged:: 3.9
264264
No longer called before the module state is allocated.
265265
266+
267+
.. c:var:: PyTypeObject PyModuleDef_Type
268+
269+
The type of ``PyModuleDef`` objects.
270+
271+
266272
Single-phase initialization
267273
...........................
268274

Tools/check-c-api-docs/ignored_c_api.txt

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,8 +20,6 @@ Py_UTF8Mode
2020
Py_HASH_EXTERNAL
2121
# modsupport.h
2222
PyABIInfo_FREETHREADING_AGNOSTIC
23-
# moduleobject.h
24-
PyModuleDef_Type
2523
# object.h
2624
Py_INVALID_SIZE
2725
Py_TPFLAGS_HAVE_VERSION_TAG

0 commit comments

Comments
 (0)