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 c5b23eb commit 7af0d06Copy full SHA for 7af0d06
Doc/c-api/module.rst
@@ -675,6 +675,9 @@ or code that creates modules dynamically.
675
``PyModuleDef`` (such as when using :ref:`multi-phase-initialization`,
676
``PyModule_Create``, or ``PyModule_FromDefAndSpec``).
677
678
+ Return ``0`` on success.
679
+ Return ``-1`` with an exception set on error.
680
+
681
.. versionadded:: 3.5
682
683
.. c:function:: int PyUnstable_Module_SetGIL(PyObject *module, void *gil)
0 commit comments