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 8c96e54

Browse filesBrowse files
vstinneradorilson
authored andcommitted
bpo-1635741: Fix typo in PyModule_AddObjectRef() doc (pythonGH-23234)
It is similar to PyModule_AddObject(), not to itself.
1 parent 31a4655 commit 8c96e54
Copy full SHA for 8c96e54

File tree

Expand file treeCollapse file tree

2 files changed

+2
-2
lines changed
Filter options
Expand file treeCollapse file tree

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.