mirror of
https://github.com/python/cpython.git
synced 2025-09-26 10:19:53 +00:00
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
2 changed files with 2 additions and 2 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue