Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2520617 commit 3e9a5b0Copy full SHA for 3e9a5b0
1 file changed
Doc/c-api/module.rst
@@ -1021,6 +1021,9 @@ or code that creates modules dynamically.
1021
``PyModuleDef`` (such as when using :ref:`multi-phase-initialization`,
1022
``PyModule_Create``, or ``PyModule_FromDefAndSpec``).
1023
1024
+ Return ``0`` on success.
1025
+ Return ``-1`` with an exception set on error.
1026
+
1027
.. versionadded:: 3.5
1028
1029
.. c:function:: int PyUnstable_Module_SetGIL(PyObject *module, void *gil)
0 commit comments