summaryrefslogtreecommitdiffstats
path: root/Doc/c-api
diff options
context:
space:
mode:
authorAveheuzed <a.masson555@ntymail.com>2019-11-21 01:19:00 (GMT)
committerMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>2019-11-21 01:19:00 (GMT)
commit06ca2a2be9374ac390e9407685ccce941ab9ffa2 (patch)
treed0f1e2be9fd797eac1975a0c3980f26621473f5c /Doc/c-api
parent046442d02bcc6e848e71e93e47f6cde9e279e993 (diff)
downloadcpython-06ca2a2be9374ac390e9407685ccce941ab9ffa2.zip
cpython-06ca2a2be9374ac390e9407685ccce941ab9ffa2.tar.gz
cpython-06ca2a2be9374ac390e9407685ccce941ab9ffa2.tar.bz2
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
Diffstat (limited to 'Doc/c-api')
-rw-r--r--Doc/c-api/mapping.rst3
1 files changed, 1 insertions, 2 deletions
diff --git a/Doc/c-api/mapping.rst b/Doc/c-api/mapping.rst
index 4015f43..6a80b03 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)