mirror of https://github.com/python/cpython
gh-121749: Fix discrepancy in docs for `PyModule_AddObjectRef` (GH-121750)
This commit is contained in:
parent
cae1526716
commit
26dfb27712
|
@ -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::
|
||||
|
|
|
@ -0,0 +1 @@
|
|||
Fix documentation for :c:func:`PyModule_AddObjectRef`.
|
Loading…
Reference in New Issue