René's URL Explorer Experiment


Title: Module Objects — Python 3.15.0a5 documentation

Open Graph Title: Module Objects

Description: Module definition: Modules created using the C API are typically defined using an array of slots. The slots provide a “description” of how a module should be created. The slots array is usually use...

Open Graph Description: Module definition: Modules created using the C API are typically defined using an array of slots. The slots provide a “description” of how a module should be created. The slots array is usually use...

Opengraph URL: https://docs.python.org/3/c-api/module.html

direct link

Domain: docs.python.org

og:typewebsite
og:site_namePython documentation
og:image:width1146
og:image:height600
og:imagehttps://docs.python.org/3.15/_images/social_previews/summary_c-api_module_dbac979d.png
og:image:altModule definition: Modules created using the C API are typically defined using an array of slots. The slots provide a “description” of how a module should be created. The slots array is usually use...
twitter:cardsummary_large_image
theme-color#3776ab
readthedocs-addons-api-version1

Links:

https://www.python.org/
Table of Contentshttps://docs.python.org/dev/contents.html
Module Objectshttps://docs.python.org/dev/c-api/module.html
Module definitionhttps://docs.python.org/dev/c-api/module.html#module-definition
Metadata slotshttps://docs.python.org/dev/c-api/module.html#metadata-slots
Feature slotshttps://docs.python.org/dev/c-api/module.html#feature-slots
Creation and initialization slotshttps://docs.python.org/dev/c-api/module.html#creation-and-initialization-slots
Module statehttps://docs.python.org/dev/c-api/module.html#module-state
Slots for defining module statehttps://docs.python.org/dev/c-api/module.html#slots-for-defining-module-state
Module tokenhttps://docs.python.org/dev/c-api/module.html#module-token
Creating extension modules dynamicallyhttps://docs.python.org/dev/c-api/module.html#creating-extension-modules-dynamically
Module definition structhttps://docs.python.org/dev/c-api/module.html#module-definition-struct
Support functionshttps://docs.python.org/dev/c-api/module.html#support-functions
Module lookup (single-phase initialization)https://docs.python.org/dev/c-api/module.html#module-lookup-single-phase-initialization
File Objectshttps://docs.python.org/dev/c-api/file.html
Iterator Objectshttps://docs.python.org/dev/c-api/iterator.html
Report a bughttps://docs.python.org/dev/bugs.html
Show source https://github.com/python/cpython/blob/main/Doc/c-api/module.rst?plain=1
indexhttps://docs.python.org/dev/genindex.html
moduleshttps://docs.python.org/dev/py-modindex.html
nexthttps://docs.python.org/dev/c-api/iterator.html
previoushttps://docs.python.org/dev/c-api/file.html
Pythonhttps://www.python.org/
3.15.0a5 Documentationhttps://docs.python.org/dev/index.html
Python/C API Reference Manualhttps://docs.python.org/dev/c-api/index.html
Concrete Objects Layerhttps://docs.python.org/dev/c-api/concrete.html
Module Objectshttps://docs.python.org/dev/c-api/module.html
https://docs.python.org/dev/c-api/module.html#module-objects
PyTypeObjecthttps://docs.python.org/dev/c-api/type.html#c.PyTypeObject
https://docs.python.org/dev/c-api/module.html#c.PyModule_Type
Stable ABIhttps://docs.python.org/dev/c-api/stable.html#stable
PyTypeObjecthttps://docs.python.org/dev/c-api/type.html#c.PyTypeObject
types.ModuleTypehttps://docs.python.org/dev/library/types.html#types.ModuleType
PyObjecthttps://docs.python.org/dev/c-api/structures.html#c.PyObject
https://docs.python.org/dev/c-api/module.html#c.PyModule_Check
PyObjecthttps://docs.python.org/dev/c-api/structures.html#c.PyObject
https://docs.python.org/dev/c-api/module.html#c.PyModule_CheckExact
PyModule_Typehttps://docs.python.org/dev/c-api/module.html#c.PyModule_Type
PyObjecthttps://docs.python.org/dev/c-api/structures.html#c.PyObject
PyObjecthttps://docs.python.org/dev/c-api/structures.html#c.PyObject
https://docs.python.org/dev/c-api/module.html#c.PyModule_NewObject
Stable ABIhttps://docs.python.org/dev/c-api/stable.html#stable
module.__name__https://docs.python.org/dev/reference/datamodel.html#module.__name__
__doc__https://docs.python.org/dev/reference/datamodel.html#module.__doc__
__package__https://docs.python.org/dev/reference/datamodel.html#module.__package__
__loader__https://docs.python.org/dev/reference/datamodel.html#module.__loader__
__file__https://docs.python.org/dev/reference/datamodel.html#module.__file__
__package__https://docs.python.org/dev/reference/datamodel.html#module.__package__
__loader__https://docs.python.org/dev/reference/datamodel.html#module.__loader__
PyObjecthttps://docs.python.org/dev/c-api/structures.html#c.PyObject
https://docs.python.org/dev/c-api/module.html#c.PyModule_New
Stable ABIhttps://docs.python.org/dev/c-api/stable.html#stable
PyModule_NewObject()https://docs.python.org/dev/c-api/module.html#c.PyModule_NewObject
PyObjecthttps://docs.python.org/dev/c-api/structures.html#c.PyObject
PyObjecthttps://docs.python.org/dev/c-api/structures.html#c.PyObject
https://docs.python.org/dev/c-api/module.html#c.PyModule_GetDict
Stable ABIhttps://docs.python.org/dev/c-api/stable.html#stable
__dict__https://docs.python.org/dev/reference/datamodel.html#object.__dict__
SystemErrorhttps://docs.python.org/dev/library/exceptions.html#SystemError
__dict__https://docs.python.org/dev/reference/datamodel.html#object.__dict__
PyObjecthttps://docs.python.org/dev/c-api/structures.html#c.PyObject
PyObjecthttps://docs.python.org/dev/c-api/structures.html#c.PyObject
https://docs.python.org/dev/c-api/module.html#c.PyModule_GetNameObject
Stable ABIhttps://docs.python.org/dev/c-api/stable.html#stable
__name__https://docs.python.org/dev/reference/datamodel.html#module.__name__
SystemErrorhttps://docs.python.org/dev/library/exceptions.html#SystemError
PyObjecthttps://docs.python.org/dev/c-api/structures.html#c.PyObject
https://docs.python.org/dev/c-api/module.html#c.PyModule_GetName
Stable ABIhttps://docs.python.org/dev/c-api/stable.html#stable
PyModule_GetNameObject()https://docs.python.org/dev/c-api/module.html#c.PyModule_GetNameObject
__name__https://docs.python.org/dev/reference/datamodel.html#module.__name__
PyModuleDefhttps://docs.python.org/dev/c-api/module.html#c.PyModuleDef
PyObjecthttps://docs.python.org/dev/c-api/structures.html#c.PyObject
https://docs.python.org/dev/c-api/module.html#c.PyModule_GetDef
Stable ABIhttps://docs.python.org/dev/c-api/stable.html#stable
PyModuleDefhttps://docs.python.org/dev/c-api/module.html#c.PyModuleDef
PyErr_Occurred()https://docs.python.org/dev/c-api/exceptions.html#c.PyErr_Occurred
PyObjecthttps://docs.python.org/dev/c-api/structures.html#c.PyObject
PyObjecthttps://docs.python.org/dev/c-api/structures.html#c.PyObject
https://docs.python.org/dev/c-api/module.html#c.PyModule_GetFilenameObject
Stable ABIhttps://docs.python.org/dev/c-api/stable.html#stable
__file__https://docs.python.org/dev/reference/datamodel.html#module.__file__
SystemErrorhttps://docs.python.org/dev/library/exceptions.html#SystemError
PyObjecthttps://docs.python.org/dev/c-api/structures.html#c.PyObject
https://docs.python.org/dev/c-api/module.html#c.PyModule_GetFilename
Stable ABIhttps://docs.python.org/dev/c-api/stable.html#stable
PyModule_GetFilenameObject()https://docs.python.org/dev/c-api/module.html#c.PyModule_GetFilenameObject
__file__https://docs.python.org/dev/reference/datamodel.html#module.__file__
PyModule_GetFilename()https://docs.python.org/dev/c-api/module.html#c.PyModule_GetFilename
UnicodeEncodeErrorhttps://docs.python.org/dev/library/exceptions.html#UnicodeEncodeError
PyModule_GetFilenameObject()https://docs.python.org/dev/c-api/module.html#c.PyModule_GetFilenameObject
https://docs.python.org/dev/c-api/module.html#module-definition
PyModuleDefhttps://docs.python.org/dev/c-api/module.html#c.PyModuleDef
Module definition structhttps://docs.python.org/dev/c-api/module.html#pymoduledef
Defining extension moduleshttps://docs.python.org/dev/c-api/extension-modules.html#extension-modules
create extension modules dynamicallyhttps://docs.python.org/dev/c-api/module.html#module-from-slots
https://docs.python.org/dev/c-api/module.html#c.PyModuleDef_Slot
Stable ABIhttps://docs.python.org/dev/c-api/stable.html#stable
https://docs.python.org/dev/c-api/module.html#c.PyModuleDef_Slot.slot
https://docs.python.org/dev/c-api/module.html#c.PyModuleDef_Slot.value
PyModuleDef_Slothttps://docs.python.org/dev/c-api/module.html#c.PyModuleDef_Slot
https://docs.python.org/dev/c-api/module.html#metadata-slots
https://docs.python.org/dev/c-api/module.html#c.Py_mod_name
Stable ABIhttps://docs.python.org/dev/c-api/stable.html#stable
Slot IDhttps://docs.python.org/dev/c-api/module.html#c.PyModuleDef_Slot.slot
ModuleSpechttps://docs.python.org/dev/library/importlib.html#importlib.machinery.ModuleSpec
PyModuleDef.m_namehttps://docs.python.org/dev/c-api/module.html#c.PyModuleDef.m_name
https://docs.python.org/dev/c-api/module.html#c.Py_mod_doc
Stable ABIhttps://docs.python.org/dev/c-api/stable.html#stable
Slot IDhttps://docs.python.org/dev/c-api/module.html#c.PyModuleDef_Slot.slot
PyDoc_STRVARhttps://docs.python.org/dev/c-api/intro.html#c.PyDoc_STRVAR
PyModuleDef.m_dochttps://docs.python.org/dev/c-api/module.html#c.PyModuleDef.m_doc
https://docs.python.org/dev/c-api/module.html#feature-slots
https://docs.python.org/dev/c-api/module.html#c.Py_mod_abi
Stable ABIhttps://docs.python.org/dev/c-api/stable.html#stable
Slot IDhttps://docs.python.org/dev/c-api/module.html#c.PyModuleDef_Slot.slot
PyABIInfohttps://docs.python.org/dev/c-api/stable.html#c.PyABIInfo
PyABIInfo_VARhttps://docs.python.org/dev/c-api/stable.html#c.PyABIInfo_VAR
PyABIInfo_Check()https://docs.python.org/dev/c-api/stable.html#c.PyABIInfo_Check
https://docs.python.org/dev/c-api/module.html#c.Py_mod_multiple_interpreters
Stable ABIhttps://docs.python.org/dev/c-api/stable.html#stable
Slot IDhttps://docs.python.org/dev/c-api/module.html#c.PyModuleDef_Slot.slot
https://docs.python.org/dev/c-api/module.html#c.Py_MOD_MULTIPLE_INTERPRETERS_NOT_SUPPORTED
https://docs.python.org/dev/c-api/module.html#c.Py_MOD_MULTIPLE_INTERPRETERS_SUPPORTED
Isolating Extension Moduleshttps://docs.python.org/dev/howto/isolating-extensions.html#isolating-extensions-howto
https://docs.python.org/dev/c-api/module.html#c.Py_MOD_PER_INTERPRETER_GIL_SUPPORTED
Isolating Extension Moduleshttps://docs.python.org/dev/howto/isolating-extensions.html#isolating-extensions-howto
https://docs.python.org/dev/c-api/module.html#c.Py_mod_gil
Stable ABIhttps://docs.python.org/dev/c-api/stable.html#stable
Slot IDhttps://docs.python.org/dev/c-api/module.html#c.PyModuleDef_Slot.slot
https://docs.python.org/dev/c-api/module.html#c.Py_MOD_GIL_USED
https://docs.python.org/dev/c-api/module.html#c.Py_MOD_GIL_NOT_USED
--disable-gilhttps://docs.python.org/dev/using/configure.html#cmdoption-disable-gil
Free-threaded CPythonhttps://docs.python.org/dev/whatsnew/3.13.html#whatsnew313-free-threaded-cpython
https://docs.python.org/dev/c-api/module.html#creation-and-initialization-slots
https://docs.python.org/dev/c-api/module.html#c.Py_mod_create
Stable ABIhttps://docs.python.org/dev/c-api/stable.html#stable
Slot IDhttps://docs.python.org/dev/c-api/module.html#c.PyModuleDef_Slot.slot
PyObjecthttps://docs.python.org/dev/c-api/structures.html#c.PyObject
PyObjecthttps://docs.python.org/dev/c-api/structures.html#c.PyObject
PyModuleDefhttps://docs.python.org/dev/c-api/module.html#c.PyModuleDef
https://docs.python.org/dev/c-api/module.html#c.Py_mod_create.create_module
importlib.machinery.ModuleSpechttps://docs.python.org/dev/library/importlib.html#importlib.machinery.ModuleSpec
PyModule_New()https://docs.python.org/dev/c-api/module.html#c.PyModule_New
PyModule_Typehttps://docs.python.org/dev/c-api/module.html#c.PyModule_Type
Py_mod_exechttps://docs.python.org/dev/c-api/module.html#c.Py_mod_exec
module state slotshttps://docs.python.org/dev/c-api/module.html#ext-module-state-slots
Py_mod_tokenhttps://docs.python.org/dev/c-api/module.html#c.Py_mod_token
ModuleSpechttps://docs.python.org/dev/library/importlib.html#importlib.machinery.ModuleSpec
https://docs.python.org/dev/c-api/module.html#c.Py_mod_exec
Stable ABIhttps://docs.python.org/dev/c-api/stable.html#stable
Slot IDhttps://docs.python.org/dev/c-api/module.html#c.PyModuleDef_Slot.slot
PyObjecthttps://docs.python.org/dev/c-api/structures.html#c.PyObject
https://docs.python.org/dev/c-api/module.html#c.Py_mod_exec.exec_module
Support functionshttps://docs.python.org/dev/c-api/module.html#capi-module-support-functions
PyModuleDef.m_slotshttps://docs.python.org/dev/c-api/module.html#c.PyModuleDef.m_slots
PyModule_FromSlotsAndSpec()https://docs.python.org/dev/c-api/module.html#c.PyModule_FromSlotsAndSpec
PyModuleDef.m_slotshttps://docs.python.org/dev/c-api/module.html#c.PyModuleDef.m_slots
https://docs.python.org/dev/c-api/module.html#c.Py_mod_methods
Stable ABIhttps://docs.python.org/dev/c-api/stable.html#stable
Slot IDhttps://docs.python.org/dev/c-api/module.html#c.PyModuleDef_Slot.slot
PyMethodDefhttps://docs.python.org/dev/c-api/structures.html#c.PyMethodDef
PyModule_AddFunctions()https://docs.python.org/dev/c-api/module.html#c.PyModule_AddFunctions
PyMethodDefhttps://docs.python.org/dev/c-api/structures.html#c.PyMethodDef
PyModule_AddFunctions()https://docs.python.org/dev/c-api/module.html#c.PyModule_AddFunctions
Py_mod_exechttps://docs.python.org/dev/c-api/module.html#c.Py_mod_exec
PyModuleDef.m_methodshttps://docs.python.org/dev/c-api/module.html#c.PyModuleDef.m_methods
https://docs.python.org/dev/c-api/module.html#module-state
dedicated slotshttps://docs.python.org/dev/c-api/module.html#ext-module-state-slots
Py_mod_state_traversehttps://docs.python.org/dev/c-api/module.html#c.Py_mod_state_traverse
Py_mod_state_clearhttps://docs.python.org/dev/c-api/module.html#c.Py_mod_state_clear
PyObjecthttps://docs.python.org/dev/c-api/structures.html#c.PyObject
https://docs.python.org/dev/c-api/module.html#c.PyModule_GetState
Stable ABIhttps://docs.python.org/dev/c-api/stable.html#stable
Py_mod_state_sizehttps://docs.python.org/dev/c-api/module.html#c.Py_mod_state_size
PyErr_Occurred()https://docs.python.org/dev/c-api/exceptions.html#c.PyErr_Occurred
PyObjecthttps://docs.python.org/dev/c-api/structures.html#c.PyObject
Py_ssize_thttps://docs.python.org/dev/c-api/intro.html#c.Py_ssize_t
https://docs.python.org/dev/c-api/module.html#c.PyModule_GetStateSize
Stable ABIhttps://docs.python.org/dev/c-api/stable.html#stable
Py_mod_state_sizehttps://docs.python.org/dev/c-api/module.html#c.Py_mod_state_size
PyModuleDef.m_sizehttps://docs.python.org/dev/c-api/module.html#c.PyModuleDef.m_size
https://docs.python.org/dev/c-api/module.html#slots-for-defining-module-state
PyModuleDef_Slot.slothttps://docs.python.org/dev/c-api/module.html#c.PyModuleDef_Slot.slot
https://docs.python.org/dev/c-api/module.html#c.Py_mod_state_size
Stable ABIhttps://docs.python.org/dev/c-api/stable.html#stable
Slot IDhttps://docs.python.org/dev/c-api/module.html#c.PyModuleDef_Slot.slot
PEP 3121https://peps.python.org/pep-3121/
PyModule_GetStateSize()https://docs.python.org/dev/c-api/module.html#c.PyModule_GetStateSize
PyModuleDef.m_sizehttps://docs.python.org/dev/c-api/module.html#c.PyModuleDef.m_size
https://docs.python.org/dev/c-api/module.html#c.Py_mod_state_traverse
Stable ABIhttps://docs.python.org/dev/c-api/stable.html#stable
Slot IDhttps://docs.python.org/dev/c-api/module.html#c.PyModuleDef_Slot.slot
PyTypeObject.tp_traversehttps://docs.python.org/dev/c-api/typeobj.html#c.PyTypeObject.tp_traverse
PyObjecthttps://docs.python.org/dev/c-api/structures.html#c.PyObject
visitprochttps://docs.python.org/dev/c-api/gcsupport.html#c.visitproc
https://docs.python.org/dev/c-api/module.html#c.Py_mod_state_traverse.traverse_module_state
Py_mod_exechttps://docs.python.org/dev/c-api/module.html#c.Py_mod_exec
Py_mod_state_sizehttps://docs.python.org/dev/c-api/module.html#c.Py_mod_state_size
PyModule_GetState()https://docs.python.org/dev/c-api/module.html#c.PyModule_GetState
PyModuleDef.m_sizehttps://docs.python.org/dev/c-api/module.html#c.PyModuleDef.m_size
https://docs.python.org/dev/c-api/module.html#c.Py_mod_state_clear
Stable ABIhttps://docs.python.org/dev/c-api/stable.html#stable
Slot IDhttps://docs.python.org/dev/c-api/module.html#c.PyModuleDef_Slot.slot
PyObjecthttps://docs.python.org/dev/c-api/structures.html#c.PyObject
https://docs.python.org/dev/c-api/module.html#c.Py_mod_state_clear.clear_module_state
Py_mod_exechttps://docs.python.org/dev/c-api/module.html#c.Py_mod_exec
Py_mod_state_sizehttps://docs.python.org/dev/c-api/module.html#c.Py_mod_state_size
PyModule_GetState()https://docs.python.org/dev/c-api/module.html#c.PyModule_GetState
PyTypeObject.tp_clearhttps://docs.python.org/dev/c-api/typeobj.html#c.PyTypeObject.tp_clear
Py_mod_state_freehttps://docs.python.org/dev/c-api/module.html#c.Py_mod_state_free
PyModuleDef.m_clearhttps://docs.python.org/dev/c-api/module.html#c.PyModuleDef.m_clear
https://docs.python.org/dev/c-api/module.html#c.Py_mod_state_free
Stable ABIhttps://docs.python.org/dev/c-api/stable.html#stable
Slot IDhttps://docs.python.org/dev/c-api/module.html#c.PyModuleDef_Slot.slot
PyObjecthttps://docs.python.org/dev/c-api/structures.html#c.PyObject
https://docs.python.org/dev/c-api/module.html#c.Py_mod_state_free.free_module_state
Py_mod_exechttps://docs.python.org/dev/c-api/module.html#c.Py_mod_exec
Py_mod_state_sizehttps://docs.python.org/dev/c-api/module.html#c.Py_mod_state_size
PyModule_GetState()https://docs.python.org/dev/c-api/module.html#c.PyModule_GetState
PyModuleDef.m_freehttps://docs.python.org/dev/c-api/module.html#c.PyModuleDef.m_free
https://docs.python.org/dev/c-api/module.html#module-token
PyModuleDefhttps://docs.python.org/dev/c-api/module.html#c.PyModuleDef
PyModuleDefhttps://docs.python.org/dev/c-api/module.html#c.PyModuleDef
Py_mod_tokenhttps://docs.python.org/dev/c-api/module.html#c.Py_mod_token
export hookhttps://docs.python.org/dev/c-api/extension-modules.html#extension-export-hook
Py_mod_tokenhttps://docs.python.org/dev/c-api/module.html#c.Py_mod_token
https://docs.python.org/dev/c-api/module.html#c.Py_mod_token
Stable ABIhttps://docs.python.org/dev/c-api/stable.html#stable
Slot IDhttps://docs.python.org/dev/c-api/module.html#c.PyModuleDef_Slot.slot
PyModuleDefhttps://docs.python.org/dev/c-api/module.html#c.PyModuleDef
PyModuleDefhttps://docs.python.org/dev/c-api/module.html#c.PyModuleDef
PyModuleDefhttps://docs.python.org/dev/c-api/module.html#c.PyModuleDef
PyModuleDefhttps://docs.python.org/dev/c-api/module.html#c.PyModuleDef
PyModuleDef.m_slotshttps://docs.python.org/dev/c-api/module.html#c.PyModuleDef.m_slots
PyObjecthttps://docs.python.org/dev/c-api/structures.html#c.PyObject
https://docs.python.org/dev/c-api/module.html#c.PyModule_GetToken
Stable ABIhttps://docs.python.org/dev/c-api/stable.html#stable
PyType_GetModuleByToken()https://docs.python.org/dev/c-api/type.html#c.PyType_GetModuleByToken
https://docs.python.org/dev/c-api/module.html#creating-extension-modules-dynamically
export hookhttps://docs.python.org/dev/c-api/extension-modules.html#extension-export-hook
PyObjecthttps://docs.python.org/dev/c-api/structures.html#c.PyObject
PyModuleDef_Slothttps://docs.python.org/dev/c-api/module.html#c.PyModuleDef_Slot
PyObjecthttps://docs.python.org/dev/c-api/structures.html#c.PyObject
https://docs.python.org/dev/c-api/module.html#c.PyModule_FromSlotsAndSpec
Stable ABIhttps://docs.python.org/dev/c-api/stable.html#stable
slotshttps://docs.python.org/dev/c-api/module.html#pymoduledef-slot
ModuleSpechttps://docs.python.org/dev/library/importlib.html#importlib.machinery.ModuleSpec
PyModuleDef_Slothttps://docs.python.org/dev/c-api/module.html#c.PyModuleDef_Slot
Py_mod_createhttps://docs.python.org/dev/c-api/module.html#c.Py_mod_create
Py_mod_exechttps://docs.python.org/dev/c-api/module.html#c.Py_mod_exec
PyModule_Exec()https://docs.python.org/dev/c-api/module.html#c.PyModule_Exec
Multi-phase initializationhttps://docs.python.org/dev/c-api/extension-modules.html#multi-phase-initialization
PyObjecthttps://docs.python.org/dev/c-api/structures.html#c.PyObject
https://docs.python.org/dev/c-api/module.html#c.PyModule_Exec
Stable ABIhttps://docs.python.org/dev/c-api/stable.html#stable
Py_mod_exechttps://docs.python.org/dev/c-api/module.html#c.Py_mod_exec
legacy single-phase initializationhttps://docs.python.org/dev/c-api/extension-modules.html#single-phase-initialization
https://docs.python.org/dev/c-api/module.html#module-definition-struct
slotshttps://docs.python.org/dev/c-api/module.html#pymoduledef-slot
https://docs.python.org/dev/c-api/module.html#c.PyModuleDef
Stable ABIhttps://docs.python.org/dev/c-api/stable.html#stable
PyModuleDef_Basehttps://docs.python.org/dev/c-api/module.html#c.PyModuleDef_Base
https://docs.python.org/dev/c-api/module.html#c.PyModuleDef.m_base
PyModuleDef_HEAD_INIThttps://docs.python.org/dev/c-api/module.html#c.PyModuleDef_HEAD_INIT
https://docs.python.org/dev/c-api/module.html#c.PyModuleDef_Base
Stable ABIhttps://docs.python.org/dev/c-api/stable.html#stable
https://docs.python.org/dev/c-api/module.html#c.PyModuleDef_HEAD_INIT
https://docs.python.org/dev/c-api/module.html#c.PyModuleDef.m_name
Py_mod_namehttps://docs.python.org/dev/c-api/module.html#c.Py_mod_name
https://docs.python.org/dev/c-api/module.html#c.PyModuleDef.m_doc
Py_mod_dochttps://docs.python.org/dev/c-api/module.html#c.Py_mod_doc
Py_ssize_thttps://docs.python.org/dev/c-api/intro.html#c.Py_ssize_t
https://docs.python.org/dev/c-api/module.html#c.PyModuleDef.m_size
Py_mod_state_sizehttps://docs.python.org/dev/c-api/module.html#c.Py_mod_state_size
legacy single-phase initializationhttps://docs.python.org/dev/c-api/extension-modules.html#single-phase-initialization
PyModule_Create()https://docs.python.org/dev/c-api/module.html#c.PyModule_Create
PyModule_Create2()https://docs.python.org/dev/c-api/module.html#c.PyModule_Create2
PyMethodDefhttps://docs.python.org/dev/c-api/structures.html#c.PyMethodDef
https://docs.python.org/dev/c-api/module.html#c.PyModuleDef.m_methods
Py_mod_methodshttps://docs.python.org/dev/c-api/module.html#c.Py_mod_methods
PyModuleDef_Slothttps://docs.python.org/dev/c-api/module.html#c.PyModuleDef_Slot
https://docs.python.org/dev/c-api/module.html#c.PyModuleDef.m_slots
PyModuleDefhttps://docs.python.org/dev/c-api/module.html#c.PyModuleDef
Py_mod_namehttps://docs.python.org/dev/c-api/module.html#c.Py_mod_name
PyModuleDef.m_namehttps://docs.python.org/dev/c-api/module.html#c.PyModuleDef.m_name
inquiryhttps://docs.python.org/dev/c-api/gcsupport.html#c.inquiry
https://docs.python.org/dev/c-api/module.html#c.PyModuleDef.m_slots.m_reload
traverseprochttps://docs.python.org/dev/c-api/gcsupport.html#c.traverseproc
https://docs.python.org/dev/c-api/module.html#c.PyModuleDef.m_traverse
inquiryhttps://docs.python.org/dev/c-api/gcsupport.html#c.inquiry
https://docs.python.org/dev/c-api/module.html#c.PyModuleDef.m_clear
freefunchttps://docs.python.org/dev/c-api/typeobj.html#c.freefunc
https://docs.python.org/dev/c-api/module.html#c.PyModuleDef.m_free
Py_mod_state_traversehttps://docs.python.org/dev/c-api/module.html#c.Py_mod_state_traverse
Py_mod_state_clearhttps://docs.python.org/dev/c-api/module.html#c.Py_mod_state_clear
Py_mod_state_freehttps://docs.python.org/dev/c-api/module.html#c.Py_mod_state_free
m_traversehttps://docs.python.org/dev/c-api/module.html#c.PyModuleDef.m_traverse
m_clearhttps://docs.python.org/dev/c-api/module.html#c.PyModuleDef.m_clear
m_freehttps://docs.python.org/dev/c-api/module.html#c.PyModuleDef.m_free
PyObjecthttps://docs.python.org/dev/c-api/structures.html#c.PyObject
PyModuleDefhttps://docs.python.org/dev/c-api/module.html#c.PyModuleDef
https://docs.python.org/dev/c-api/module.html#c.PyModule_Create
PyModule_Create2()https://docs.python.org/dev/c-api/module.html#c.PyModule_Create2
PYTHON_API_VERSIONhttps://docs.python.org/dev/c-api/module.html#c.PYTHON_API_VERSION
PYTHON_ABI_VERSIONhttps://docs.python.org/dev/c-api/module.html#c.PYTHON_ABI_VERSION
limited APIhttps://docs.python.org/dev/c-api/stable.html#limited-c-api
PyObjecthttps://docs.python.org/dev/c-api/structures.html#c.PyObject
PyModuleDefhttps://docs.python.org/dev/c-api/module.html#c.PyModuleDef
https://docs.python.org/dev/c-api/module.html#c.PyModule_Create2
Stable ABIhttps://docs.python.org/dev/c-api/stable.html#stable
RuntimeWarninghttps://docs.python.org/dev/library/exceptions.html#RuntimeWarning
m_slotshttps://docs.python.org/dev/c-api/module.html#c.PyModuleDef.m_slots
PyModule_Create()https://docs.python.org/dev/c-api/module.html#c.PyModule_Create
PyObjecthttps://docs.python.org/dev/c-api/structures.html#c.PyObject
PyModuleDefhttps://docs.python.org/dev/c-api/module.html#c.PyModuleDef
PyObjecthttps://docs.python.org/dev/c-api/structures.html#c.PyObject
https://docs.python.org/dev/c-api/module.html#c.PyModule_FromDefAndSpec
PyModule_FromDefAndSpec2()https://docs.python.org/dev/c-api/module.html#c.PyModule_FromDefAndSpec2
PYTHON_API_VERSIONhttps://docs.python.org/dev/c-api/module.html#c.PYTHON_API_VERSION
PYTHON_ABI_VERSIONhttps://docs.python.org/dev/c-api/module.html#c.PYTHON_ABI_VERSION
limited APIhttps://docs.python.org/dev/c-api/stable.html#limited-c-api
PyObjecthttps://docs.python.org/dev/c-api/structures.html#c.PyObject
PyModuleDefhttps://docs.python.org/dev/c-api/module.html#c.PyModuleDef
PyObjecthttps://docs.python.org/dev/c-api/structures.html#c.PyObject
https://docs.python.org/dev/c-api/module.html#c.PyModule_FromDefAndSpec2
Stable ABIhttps://docs.python.org/dev/c-api/stable.html#stable
RuntimeWarninghttps://docs.python.org/dev/library/exceptions.html#RuntimeWarning
Py_mod_exechttps://docs.python.org/dev/c-api/module.html#c.Py_mod_exec
PyModule_FromDefAndSpec()https://docs.python.org/dev/c-api/module.html#c.PyModule_FromDefAndSpec
PyObjecthttps://docs.python.org/dev/c-api/structures.html#c.PyObject
PyModuleDefhttps://docs.python.org/dev/c-api/module.html#c.PyModuleDef
https://docs.python.org/dev/c-api/module.html#c.PyModule_ExecDef
Stable ABIhttps://docs.python.org/dev/c-api/stable.html#stable
Py_mod_exechttps://docs.python.org/dev/c-api/module.html#c.Py_mod_exec
https://docs.python.org/dev/c-api/module.html#c.PYTHON_API_VERSION
https://docs.python.org/dev/c-api/module.html#c.PYTHON_API_STRING
https://docs.python.org/dev/c-api/module.html#c.PYTHON_ABI_VERSION
https://docs.python.org/dev/c-api/module.html#c.PYTHON_ABI_STRING
https://docs.python.org/dev/c-api/module.html#support-functions
Py_mod_exechttps://docs.python.org/dev/c-api/module.html#c.Py_mod_exec
single-phase initializationhttps://docs.python.org/dev/c-api/extension-modules.html#single-phase-initialization
PyObjecthttps://docs.python.org/dev/c-api/structures.html#c.PyObject
PyObjecthttps://docs.python.org/dev/c-api/structures.html#c.PyObject
https://docs.python.org/dev/c-api/module.html#c.PyModule_AddObjectRef
Stable ABIhttps://docs.python.org/dev/c-api/stable.html#stable
PyUnicode_FromString()https://docs.python.org/dev/c-api/unicode.html#c.PyUnicode_FromString
PyObject_SetAttr()https://docs.python.org/dev/c-api/object.html#c.PyObject_SetAttr
PyUnicode_InternFromString()https://docs.python.org/dev/c-api/unicode.html#c.PyUnicode_InternFromString
PyObjecthttps://docs.python.org/dev/c-api/structures.html#c.PyObject
PyObjecthttps://docs.python.org/dev/c-api/structures.html#c.PyObject
https://docs.python.org/dev/c-api/module.html#c.PyModule_Add
Stable ABIhttps://docs.python.org/dev/c-api/stable.html#stable
PyModule_AddObjectRef()https://docs.python.org/dev/c-api/module.html#c.PyModule_AddObjectRef
PyObjecthttps://docs.python.org/dev/c-api/structures.html#c.PyObject
PyObjecthttps://docs.python.org/dev/c-api/structures.html#c.PyObject
https://docs.python.org/dev/c-api/module.html#c.PyModule_AddObject
Stable ABIhttps://docs.python.org/dev/c-api/stable.html#stable
PyModule_AddObjectRef()https://docs.python.org/dev/c-api/module.html#c.PyModule_AddObjectRef
PyModule_Add()https://docs.python.org/dev/c-api/module.html#c.PyModule_Add
PyModule_AddObjectRef()https://docs.python.org/dev/c-api/module.html#c.PyModule_AddObjectRef
PyModule_AddObject()https://docs.python.org/dev/c-api/module.html#c.PyModule_AddObject
Py_XDECREF()https://docs.python.org/dev/c-api/refcounting.html#c.Py_XDECREF
PyModule_AddObject()https://docs.python.org/dev/c-api/module.html#c.PyModule_AddObject
soft deprecatedhttps://docs.python.org/dev/glossary.html#term-soft-deprecated
PyObjecthttps://docs.python.org/dev/c-api/structures.html#c.PyObject
https://docs.python.org/dev/c-api/module.html#c.PyModule_AddIntConstant
Stable ABIhttps://docs.python.org/dev/c-api/stable.html#stable
PyLong_FromLong()https://docs.python.org/dev/c-api/long.html#c.PyLong_FromLong
PyModule_AddObjectRef()https://docs.python.org/dev/c-api/module.html#c.PyModule_AddObjectRef
PyObjecthttps://docs.python.org/dev/c-api/structures.html#c.PyObject
https://docs.python.org/dev/c-api/module.html#c.PyModule_AddStringConstant
Stable ABIhttps://docs.python.org/dev/c-api/stable.html#stable
PyUnicode_InternFromString()https://docs.python.org/dev/c-api/unicode.html#c.PyUnicode_InternFromString
PyModule_AddObjectRef()https://docs.python.org/dev/c-api/module.html#c.PyModule_AddObjectRef
https://docs.python.org/dev/c-api/module.html#c.PyModule_AddIntMacro
https://docs.python.org/dev/c-api/module.html#c.PyModule_AddStringMacro
PyObjecthttps://docs.python.org/dev/c-api/structures.html#c.PyObject
PyTypeObjecthttps://docs.python.org/dev/c-api/type.html#c.PyTypeObject
https://docs.python.org/dev/c-api/module.html#c.PyModule_AddType
Stable ABIhttps://docs.python.org/dev/c-api/stable.html#stable
PyType_Ready()https://docs.python.org/dev/c-api/type.html#c.PyType_Ready
tp_namehttps://docs.python.org/dev/c-api/typeobj.html#c.PyTypeObject.tp_name
PyObjecthttps://docs.python.org/dev/c-api/structures.html#c.PyObject
PyMethodDefhttps://docs.python.org/dev/c-api/structures.html#c.PyMethodDef
https://docs.python.org/dev/c-api/module.html#c.PyModule_AddFunctions
Stable ABIhttps://docs.python.org/dev/c-api/stable.html#stable
PyMethodDefhttps://docs.python.org/dev/c-api/structures.html#c.PyMethodDef
Multi-phase initializationhttps://docs.python.org/dev/c-api/extension-modules.html#multi-phase-initialization
PyMethodDefhttps://docs.python.org/dev/c-api/structures.html#c.PyMethodDef
PyObjecthttps://docs.python.org/dev/c-api/structures.html#c.PyObject
https://docs.python.org/dev/c-api/module.html#c.PyModule_SetDocString
Stable ABIhttps://docs.python.org/dev/c-api/stable.html#stable
Multi-phase initializationhttps://docs.python.org/dev/c-api/extension-modules.html#multi-phase-initialization
PyObjecthttps://docs.python.org/dev/c-api/structures.html#c.PyObject
https://docs.python.org/dev/c-api/module.html#c.PyUnstable_Module_SetGIL
Unstable APIhttps://docs.python.org/dev/c-api/stable.html#unstable-c-api
Py_mod_gilhttps://docs.python.org/dev/c-api/module.html#c.Py_mod_gil
Legacy single-phase initializationhttps://docs.python.org/dev/c-api/extension-modules.html#single-phase-initialization
--disable-gilhttps://docs.python.org/dev/using/configure.html#cmdoption-disable-gil
https://docs.python.org/dev/c-api/module.html#module-lookup-single-phase-initialization
single-phase initializationhttps://docs.python.org/dev/c-api/extension-modules.html#single-phase-initialization
PyObjecthttps://docs.python.org/dev/c-api/structures.html#c.PyObject
PyModuleDefhttps://docs.python.org/dev/c-api/module.html#c.PyModuleDef
https://docs.python.org/dev/c-api/module.html#c.PyState_FindModule
Stable ABIhttps://docs.python.org/dev/c-api/stable.html#stable
PyState_AddModule()https://docs.python.org/dev/c-api/module.html#c.PyState_AddModule
PyObjecthttps://docs.python.org/dev/c-api/structures.html#c.PyObject
PyModuleDefhttps://docs.python.org/dev/c-api/module.html#c.PyModuleDef
https://docs.python.org/dev/c-api/module.html#c.PyState_AddModule
Stable ABIhttps://docs.python.org/dev/c-api/stable.html#stable
PyState_FindModule()https://docs.python.org/dev/c-api/module.html#c.PyState_FindModule
single-phase initializationhttps://docs.python.org/dev/c-api/extension-modules.html#single-phase-initialization
attached thread statehttps://docs.python.org/dev/glossary.html#term-attached-thread-state
PyModuleDefhttps://docs.python.org/dev/c-api/module.html#c.PyModuleDef
https://docs.python.org/dev/c-api/module.html#c.PyState_RemoveModule
Stable ABIhttps://docs.python.org/dev/c-api/stable.html#stable
attached thread statehttps://docs.python.org/dev/glossary.html#term-attached-thread-state
Table of Contentshttps://docs.python.org/dev/contents.html
Module Objectshttps://docs.python.org/dev/c-api/module.html
Module definitionhttps://docs.python.org/dev/c-api/module.html#module-definition
Metadata slotshttps://docs.python.org/dev/c-api/module.html#metadata-slots
Feature slotshttps://docs.python.org/dev/c-api/module.html#feature-slots
Creation and initialization slotshttps://docs.python.org/dev/c-api/module.html#creation-and-initialization-slots
Module statehttps://docs.python.org/dev/c-api/module.html#module-state
Slots for defining module statehttps://docs.python.org/dev/c-api/module.html#slots-for-defining-module-state
Module tokenhttps://docs.python.org/dev/c-api/module.html#module-token
Creating extension modules dynamicallyhttps://docs.python.org/dev/c-api/module.html#creating-extension-modules-dynamically
Module definition structhttps://docs.python.org/dev/c-api/module.html#module-definition-struct
Support functionshttps://docs.python.org/dev/c-api/module.html#support-functions
Module lookup (single-phase initialization)https://docs.python.org/dev/c-api/module.html#module-lookup-single-phase-initialization
File Objectshttps://docs.python.org/dev/c-api/file.html
Iterator Objectshttps://docs.python.org/dev/c-api/iterator.html
Report a bughttps://docs.python.org/dev/bugs.html
Show source https://github.com/python/cpython/blob/main/Doc/c-api/module.rst?plain=1
indexhttps://docs.python.org/dev/genindex.html
moduleshttps://docs.python.org/dev/py-modindex.html
nexthttps://docs.python.org/dev/c-api/iterator.html
previoushttps://docs.python.org/dev/c-api/file.html
Pythonhttps://www.python.org/
3.15.0a5 Documentationhttps://docs.python.org/dev/index.html
Python/C API Reference Manualhttps://docs.python.org/dev/c-api/index.html
Concrete Objects Layerhttps://docs.python.org/dev/c-api/concrete.html
Module Objectshttps://docs.python.org/dev/c-api/module.html
Copyrighthttps://docs.python.org/dev/copyright.html
History and Licensehttps://docs.python.org/license.html
Please donate.https://www.python.org/psf/donations/
Found a bughttps://docs.python.org/bugs.html
Sphinxhttps://www.sphinx-doc.org/

Viewport: width=device-width, initial-scale=1.0


URLs of crawlers that visited me.