bpo-1635741: Fix typo in PyModule_AddObjectRef() doc (GH-23234)
It is similar to PyModule_AddObject(), not to itself.
This commit is contained in:
parent
78ba7c69ad
commit
95ce7cd0a6
|
@ -424,7 +424,7 @@ New Features
|
|||
(Contributed by Alex Gaynor in :issue:`41784`.)
|
||||
|
||||
* Added :c:func:`PyModule_AddObjectRef` function: similar to
|
||||
:c:func:`PyModule_AddObjectRef` but don't steal a reference to the value on
|
||||
:c:func:`PyModule_AddObject` but don't steal a reference to the value on
|
||||
success.
|
||||
(Contributed by Victor Stinner in :issue:`1635741`.)
|
||||
|
||||
|
|
|
@ -1,3 +1,3 @@
|
|||
Added :c:func:`PyModule_AddObjectRef` function: similar to
|
||||
:c:func:`PyModule_AddObjectRef` but don't steal a reference to the value on
|
||||
:c:func:`PyModule_AddObject` but don't steal a reference to the value on
|
||||
success. Patch by Victor Stinner.
|
||||
|
|
Loading…
Reference in New Issue