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 3df9e31 commit b5129b8Copy full SHA for b5129b8
1 file changed
Doc/c-api/module.rst
@@ -529,6 +529,9 @@ objects dynamically. Note that both ``PyModule_FromDefAndSpec`` and
529
``PyModuleDef``, using either ``PyModule_Create`` or
530
``PyModule_FromDefAndSpec``.
531
532
+ Return ``0`` on success.
533
+ Return ``-1`` with an exception set on error.
534
+
535
.. versionadded:: 3.5
536
537
.. c:function:: int PyModule_AddFunctions(PyObject *module, PyMethodDef *functions)
0 commit comments