Skip to content
Merged
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions Doc/c-api/module.rst
Original file line number Diff line number Diff line change
Expand Up @@ -1020,6 +1020,9 @@ or code that creates modules dynamically.
This function is called automatically when creating a module from
``PyModuleDef`` (such as when using :ref:`multi-phase-initialization`,
``PyModule_Create``, or ``PyModule_FromDefAndSpec``).

Comment thread
ngoldbaum marked this conversation as resolved.
Outdated
Return ``0`` on success.
Comment thread
ngoldbaum marked this conversation as resolved.
Return ``-1`` with an exception set on error.

.. versionadded:: 3.5

Expand Down
Loading