bpo-1635741: Fix typo in PyModule_AddObjectRef() doc (GH-23234)

It is similar to PyModule_AddObject(), not to itself.
This commit is contained in:
Victor Stinner 2020-11-11 01:52:26 +01:00 committed by GitHub
parent 78ba7c69ad
commit 95ce7cd0a6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View File

@ -424,7 +424,7 @@ New Features
(Contributed by Alex Gaynor in :issue:`41784`.) (Contributed by Alex Gaynor in :issue:`41784`.)
* Added :c:func:`PyModule_AddObjectRef` function: similar to * 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. success.
(Contributed by Victor Stinner in :issue:`1635741`.) (Contributed by Victor Stinner in :issue:`1635741`.)

View File

@ -1,3 +1,3 @@
Added :c:func:`PyModule_AddObjectRef` function: similar to 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. success. Patch by Victor Stinner.