Skip to content

Commit

Permalink
[3.12] pythongh-121749: Fix discrepancy in docs for `PyModule_AddObje…
Browse files Browse the repository at this point in the history
…ctRef` (pythonGH-121750) (pythonGH-121753)

(cherry picked from commit 26dfb27)

Co-authored-by: Dominic H <[email protected]>
  • Loading branch information
miss-islington and GovernmentPlates authored Jul 14, 2024
1 parent 863c0a3 commit 004758e
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 @@ -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`.

0 comments on commit 004758e

Please sign in to comment.