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 d472b4f

Browse filesBrowse files
authored
gh-119391: Amend comment description of PyMapping_Items, PyMapping_Values and PyMapping_Keys (#119392)
The behaviour was changed in 0ccc0f6.
1 parent 858b9e8 commit d472b4f
Copy full SHA for d472b4f

File tree

1 file changed

+3
-3
lines changed
Filter options

1 file changed

+3
-3
lines changed

‎Include/abstract.h

Copy file name to clipboardExpand all lines: Include/abstract.h
+3-3Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -852,15 +852,15 @@ PyAPI_FUNC(int) PyMapping_HasKeyWithError(PyObject *o, PyObject *key);
852852

853853
PyAPI_FUNC(int) PyMapping_HasKeyStringWithError(PyObject *o, const char *key);
854854

855-
/* On success, return a list or tuple of the keys in mapping object 'o'.
855+
/* On success, return a list of the keys in mapping object 'o'.
856856
On failure, return NULL. */
857857
PyAPI_FUNC(PyObject *) PyMapping_Keys(PyObject *o);
858858

859-
/* On success, return a list or tuple of the values in mapping object 'o'.
859+
/* On success, return a list of the values in mapping object 'o'.
860860
On failure, return NULL. */
861861
PyAPI_FUNC(PyObject *) PyMapping_Values(PyObject *o);
862862

863-
/* On success, return a list or tuple of the items in mapping object 'o',
863+
/* On success, return a list of the items in mapping object 'o',
864864
where each item is a tuple containing a key-value pair. On failure, return
865865
NULL. */
866866
PyAPI_FUNC(PyObject *) PyMapping_Items(PyObject *o);

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.