8000 bpo-1635741: Fix typo in PyModule_AddObjectRef() doc (GH-23234) · python/cpython@95ce7cd · GitHub
[go: up one dir, main page]

Skip to content

Commit 95ce7cd

Browse files
authored
bpo-1635741: Fix typo in PyModule_AddObjectRef() doc (GH-23234)
It is similar to PyModule_AddObject(), not to itself.
1 parent 78ba7c6 commit 95ce7cd

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

Doc/whatsnew/3.10.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -424,7 +424,7 @@ New Features
424424
(Contributed by Alex Gaynor in :issue:`41784`.)
425425

426426
* Added :c:func:`PyModule_AddObjectRef` function: similar to
427-
:c:func:`PyModule_AddObjectRef` but don't steal a reference to the value on
427+
:c:func:`PyModule_AddObject` but don't steal a reference to the value on
428428
success.
429429
(Contributed by Victor Stinner in :issue:`1635741`.)
430430

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
Added :c:func:`PyModule_AddObjectRef` function: similar to
2-
:c:func:`PyModule_AddObjectRef` but don't steal a reference to the value on
2+
:c:func:`PyModule_AddObject` but don't steal a reference to the value on
33
success. Patch by Victor Stinner.

0 commit comments

Comments
 (0)
0