[3.13] gh-121749: Fix discrepancy in docs for `PyModule_AddObjectRef` (GH-121750) (GH-121752)

(cherry picked from commit 26dfb27712)

Co-authored-by: Dominic H <dom@dominic.sk>
This commit is contained in:
Miss Islington (bot) 2024-07-14 12:31:46 +02:00 committed by GitHub
parent dfedbdba40
commit f672ee2242
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 2 additions and 1 deletions

View File

@ -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::

View File

@ -0,0 +1 @@
Fix documentation for :c:func:`PyModule_AddObjectRef`.