summaryrefslogtreecommitdiffstats
path: root/Objects
diff options
context:
space:
mode:
authoroldk <oldk1331@users.noreply.github.com>2018-02-02 08:52:55 (GMT)
committerSerhiy Storchaka <storchaka@gmail.com>2018-02-02 08:52:55 (GMT)
commitaa0735f597b072c0eb00404c4d7df359ddc26755 (patch)
treec6ff6cd0d312d35d57b52821df54abc009f95b7a /Objects
parent2efb9735899c7c642f3e75a121af82b1679577d3 (diff)
downloadcpython-aa0735f597b072c0eb00404c4d7df359ddc26755.zip
cpython-aa0735f597b072c0eb00404c4d7df359ddc26755.tar.gz
cpython-aa0735f597b072c0eb00404c4d7df359ddc26755.tar.bz2
bpo-32747: Remove trailing spaces in docstrings. (GH-5491)
Diffstat (limited to 'Objects')
-rw-r--r--Objects/odictobject.c2
-rw-r--r--Objects/unicodeobject.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/Objects/odictobject.c b/Objects/odictobject.c
index bf19fed..1796b96 100644
--- a/Objects/odictobject.c
+++ b/Objects/odictobject.c
@@ -866,7 +866,7 @@ PyDoc_STRVAR(odict_delitem__doc__, "od.__delitem__(y) <==> del od[y]");
/* __eq__() */
PyDoc_STRVAR(odict_eq__doc__,
-"od.__eq__(y) <==> od==y. Comparison to another OD is order-sensitive \n\
+"od.__eq__(y) <==> od==y. Comparison to another OD is order-sensitive\n\
while comparison to a regular mapping is order-insensitive.\n\
");
diff --git a/Objects/unicodeobject.c b/Objects/unicodeobject.c
index 3d9e09d..f5e4ab6 100644
--- a/Objects/unicodeobject.c
+++ b/Objects/unicodeobject.c
@@ -11595,7 +11595,7 @@ unicode_hash(PyObject *self)
PyDoc_STRVAR(index__doc__,
"S.index(sub[, start[, end]]) -> int\n\
\n\
-Return the lowest index in S where substring sub is found, \n\
+Return the lowest index in S where substring sub is found,\n\
such that sub is contained within S[start:end]. Optional\n\
arguments start and end are interpreted as in slice notation.\n\
\n\