Skip to content

Commit 24cc998

Browse files
gh-141004: Document PyModuleDef_Type (GH-145043)
1 parent 3dc8fdb commit 24cc998

File tree

2 files changed

+5
-2
lines changed

2 files changed

+5
-2
lines changed

Doc/c-api/module.rst

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -755,6 +755,11 @@ remove it.
755755
functions are no longer called before the module state is allocated.
756756

757757

758+
.. c:var:: PyTypeObject PyModuleDef_Type
759+
760+
The type of ``PyModuleDef`` objects.
761+
762+
758763
.. _moduledef-dynamic:
759764

760765
The following API can be used to create modules from a :c:type:`!PyModuleDef`

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)