Skip to content
Merged
Show file tree
Hide file tree
Changes from all 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
2 changes: 1 addition & 1 deletion Doc/c-api/module.rst
Original file line number Diff line number Diff line change
Expand Up @@ -492,7 +492,7 @@ state:

On success, return ``0``. On error, raise an exception and return ``-1``.

Return ``NULL`` if *value* is ``NULL``. It must be called with an exception
Return ``-1`` if *value* is ``NULL``. It must be called with an exception
raised in this case.

Example usage::
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Fix documentation for :c:func:`PyModule_AddObjectRef`.