Thanks to visit codestin.com
Credit goes to github.com

Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Move to module.rst
  • Loading branch information
ZeroIntensity committed Feb 21, 2026
commit 9a15febbd467a278d5da4a1aaaf07295c6d562b6
5 changes: 0 additions & 5 deletions Doc/c-api/extension-modules.rst
Original file line number Diff line number Diff line change
Expand Up @@ -267,11 +267,6 @@ For example, a module called ``spam`` would be defined like this::
}


.. c:var:: PyTypeObject PyModuleDef_Type

The type of ``PyModuleDef`` objects.


.. _single-phase-initialization:

Legacy single-phase initialization
Expand Down
5 changes: 5 additions & 0 deletions Doc/c-api/module.rst
Original file line number Diff line number Diff line change
Expand Up @@ -755,6 +755,11 @@ remove it.
functions are no longer called before the module state is allocated.


.. c:var:: PyTypeObject PyModuleDef_Type
The type of ``PyModuleDef`` objects.


.. _moduledef-dynamic:

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