bpo-32747: Remove trailing spaces in docstrings. (GH-5491)
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 @@
/* __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 @@
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\