Skip to content

Commit 9a15feb

Browse files
committed
Move to module.rst
1 parent d8920da commit 9a15feb

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

Doc/c-api/extension-modules.rst

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -267,11 +267,6 @@ For example, a module called ``spam`` would be defined like this::
267267
}
268268
269269
270-
.. c:var:: PyTypeObject PyModuleDef_Type
271-
272-
The type of ``PyModuleDef`` objects.
273-
274-
275270
.. _single-phase-initialization:
276271
277272
Legacy single-phase initialization

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`

0 commit comments

Comments
 (0)