Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit d472b4f

Browse 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

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

Include/abstract.h

Lines 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)