]> granicus.if.org Git - python/commitdiff
Fix extra space.
authorEzio Melotti <ezio.melotti@gmail.com>
Sat, 26 Jun 2010 18:44:42 +0000 (18:44 +0000)
committerEzio Melotti <ezio.melotti@gmail.com>
Sat, 26 Jun 2010 18:44:42 +0000 (18:44 +0000)
Objects/stringobject.c
Objects/unicodeobject.c

index 2fa2b79dd03d9d7175ae1ea26b5cff440baf3825..8d3403a0c3e66724cf1863c908ea8f849ba37eaa 100644 (file)
@@ -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\
index 0e378a5a40855ee8d6d10967b148b802d3251fd1..8b3b861bee612ed0381562881ce54a5152ddafdf 100644 (file)
@@ -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\