From: Aveheuzed Date: Thu, 21 Nov 2019 01:19:00 +0000 (+0100) Subject: Fixed an incorrect sentence in the docs (GH-17205) X-Git-Tag: v3.9.0a2~156 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=06ca2a2be9374ac390e9407685ccce941ab9ffa2;p=thirdparty%2FPython%2Fcpython.git 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 --- diff --git a/Doc/c-api/mapping.rst b/Doc/c-api/mapping.rst index 4015f43d8f1e..6a80b033b651 100644 --- a/Doc/c-api/mapping.rst +++ b/Doc/c-api/mapping.rst @@ -14,8 +14,7 @@ See also :c:func:`PyObject_GetItem`, :c:func:`PyObject_SetItem` and Return ``1`` if the object provides mapping protocol or supports slicing, and ``0`` otherwise. Note that it returns ``1`` for Python classes with a :meth:`__getitem__` method since in general case it is impossible to - determine what the type of keys it supports. This function always - succeeds. + determine what type of keys it supports. This function always succeeds. .. c:function:: Py_ssize_t PyMapping_Size(PyObject *o)