summaryrefslogtreecommitdiffstats
path: root/Objects
diff options
context:
space:
mode:
authorEzio Melotti <ezio.melotti@gmail.com>2010-06-26 18:47:01 (GMT)
committerEzio Melotti <ezio.melotti@gmail.com>2010-06-26 18:47:01 (GMT)
commit6327bf1c6ac735d8478fa8dc51ff92efd9c6a339 (patch)
tree43aae08a4f0ecc4ff65f52957b8a8ff69b16dc0d /Objects
parent24c845fc379a135fad1c0842bbc99dd2ab3dcd39 (diff)
downloadcpython-6327bf1c6ac735d8478fa8dc51ff92efd9c6a339.zip
cpython-6327bf1c6ac735d8478fa8dc51ff92efd9c6a339.tar.gz
cpython-6327bf1c6ac735d8478fa8dc51ff92efd9c6a339.tar.bz2
Merged revisions 82248 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk ........ r82248 | ezio.melotti | 2010-06-26 21:44:42 +0300 (Sat, 26 Jun 2010) | 1 line 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 4b2eed5..f8f6cef 100644
--- a/Objects/stringobject.c
+++ b/Objects/stringobject.c
@@ -3137,7 +3137,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 47249cb..392d8fd 100644
--- a/Objects/unicodeobject.c
+++ b/Objects/unicodeobject.c
@@ -7339,7 +7339,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\