]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
Fixed an incorrect sentence in the docs (GH-17205)
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Thu, 21 Nov 2019 01:24:51 +0000 (17:24 -0800)
committerGitHub <noreply@github.com>
Thu, 21 Nov 2019 01:24:51 +0000 (17:24 -0800)
Fixed an incorrect sentence in Doc/c-api/mapping.rst I fell on
while translating the file.

skip issue

Automerge-Triggered-By: @csabella
(cherry picked from commit 06ca2a2be9374ac390e9407685ccce941ab9ffa2)

Co-authored-by: Aveheuzed <a.masson555@ntymail.com>
Doc/c-api/mapping.rst

index 44cf2e7690892208ededbc43347dd34175b1919a..abdc2aea758ba1b4f45b729a258b613d0f52fd8b 100644 (file)
@@ -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)