summaryrefslogtreecommitdiff
path: root/Objects
diff options
context:
space:
mode:
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 bf19fedb07..1796b968bf 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 3d9e09d7fa..f5e4ab62a3 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\