Movatterモバイル変換


[0]ホーム

URL:


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

Sign up
Appearance settings

Commitd472b4f

Browse files
authored
gh-119391: Amend comment description of PyMapping_Items, PyMapping_Values and PyMapping_Keys (#119392)
The behaviour was changed in0ccc0f6.
1 parent858b9e8 commitd472b4f

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,constchar*key);
854854

855-
/* On success, return a listor tupleof 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 listor tupleof 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 listor tupleof 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)

[8]ページ先頭

©2009-2025 Movatter.jp