# Documentation In the description of **PyModule_FromDefAndSpec** and **PyModule_FromDefAndSpec2**, the definition(PyModuleDef) parameter should be _def_, not _module_. https://docs.python.org/3/c-api/module.html <!-- gh-linked-prs --> ### Linked PRs * gh-101976 * gh-101982 * gh-101983 <!-- /gh-linked-prs -->
Documentation
In the description of PyModule_FromDefAndSpec and PyModule_FromDefAndSpec2, the definition(PyModuleDef) parameter should be def, not module.
https://docs.python.org/3/c-api/module.html
Linked PRs