Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 95ce7cd

Browse filesBrowse 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
Copy full SHA for 95ce7cd

File tree

2 files changed

+2
-2
lines changed
Filter options

2 files changed

+2
-2
lines changed

‎Doc/whatsnew/3.10.rst

Copy file name to clipboardExpand all lines: Doc/whatsnew/3.10.rst
+1-1Lines 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

+1-1Lines 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)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.