Skip to content

Commit

Permalink
pythongh-121749: Fix discrepancy in docs for PyModule_AddObjectRef (p…
Browse files Browse the repository at this point in the history
  • Loading branch information
GovernmentPlates authored Jul 14, 2024
1 parent cae1526 commit 26dfb27
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion Doc/c-api/module.rst
Original file line number Diff line number Diff line change
Expand Up @@ -517,7 +517,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`.

0 comments on commit 26dfb27

Please sign in to comment.