summaryrefslogtreecommitdiffstats
path: root/Objects
diff options
context:
space:
mode:
authorEzio Melotti <ezio.melotti@gmail.com>2010-06-26 18:44:42 (GMT)
committerEzio Melotti <ezio.melotti@gmail.com>2010-06-26 18:44:42 (GMT)
commit2f06b78d61e58f39c2833048e7eab45ae6a93e57 (patch)
tree120c340768e33d3e38e72080803fe09d91c17405 /Objects
parent62a14db9f4f7b77bfc5663902f0d05f74901e950 (diff)
downloadcpython-2f06b78d61e58f39c2833048e7eab45ae6a93e57.zip
cpython-2f06b78d61e58f39c2833048e7eab45ae6a93e57.tar.gz
cpython-2f06b78d61e58f39c2833048e7eab45ae6a93e57.tar.bz2
Fix extra space.
Diffstat (limited to 'Objects')
-rw-r--r--Objects/stringobject.c2
-rw-r--r--Objects/unicodeobject.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/Objects/stringobject.c b/Objects/stringobject.c
index 2fa2b79..8d3403a 100644
--- a/Objects/stringobject.c
+++ b/Objects/stringobject.c
@@ -2806,7 +2806,7 @@ replace(PyStringObject *self,
}
PyDoc_STRVAR(replace__doc__,
-"S.replace (old, new[, count]) -> string\n\
+"S.replace(old, new[, count]) -> string\n\
\n\
Return a copy of string S with all occurrences of substring\n\
old replaced by new. If the optional argument count is\n\
diff --git a/Objects/unicodeobject.c b/Objects/unicodeobject.c
index 0e378a5..8b3b861 100644
--- a/Objects/unicodeobject.c
+++ b/Objects/unicodeobject.c
@@ -7187,7 +7187,7 @@ PyObject *PyUnicode_Replace(PyObject *obj,
}
PyDoc_STRVAR(replace__doc__,
- "S.replace (old, new[, count]) -> unicode\n\
+ "S.replace(old, new[, count]) -> unicode\n\
\n\
Return a copy of S with all occurrences of substring\n\
old replaced by new. If the optional argument count is\n\