[Python-checkins] Fixed an incorrect sentence in the docs (GH-17205)
Miss Islington (bot)
webhook-mailer at python.org
Wed Nov 20 20:26:36 EST 2019
https://github.com/python/cpython/commit/c5fe339b27c61ab37ddc8e6c5e8046075ed47fa6
commit: c5fe339b27c61ab37ddc8e6c5e8046075ed47fa6
branch: 3.8
author: Miss Islington (bot) <31488909+miss-islington at users.noreply.github.com>
committer: GitHub <noreply at github.com>
date: 2019-11-20T17:26:30-08:00
summary:
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
(cherry picked from commit 06ca2a2be9374ac390e9407685ccce941ab9ffa2)
Co-authored-by: Aveheuzed <a.masson555 at ntymail.com>
files:
M Doc/c-api/mapping.rst
diff --git a/Doc/c-api/mapping.rst b/Doc/c-api/mapping.rst
index 4015f43d8f1ee..6a80b033b651e 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)
More information about the Python-checkins
mailing list