Skip to content

Commit 06ca2a2

Browse files
Aveheuzedmiss-islington
authored andcommitted
Fixed an incorrect sentence in the docs (GH-17205)
Fixed an incorrect sentence in Doc/c-api/mapping.rst I fell on while translating the file. skip issue Automerge-Triggered-By: @csabella
1 parent 046442d commit 06ca2a2

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

Doc/c-api/mapping.rst

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,7 @@ See also :c:func:`PyObject_GetItem`, :c:func:`PyObject_SetItem` and
1414
Return ``1`` if the object provides mapping protocol or supports slicing,
1515
and ``0`` otherwise. Note that it returns ``1`` for Python classes with
1616
a :meth:`__getitem__` method since in general case it is impossible to
17-
determine what the type of keys it supports. This function always
18-
succeeds.
17+
determine what type of keys it supports. This function always succeeds.
1918
2019
2120
.. c:function:: Py_ssize_t PyMapping_Size(PyObject *o)

0 commit comments

Comments
 (0)