]> granicus.if.org Git - python/commitdiff
Merged revisions 82248 via svnmerge from
authorEzio Melotti <ezio.melotti@gmail.com>
Sat, 26 Jun 2010 18:47:01 +0000 (18:47 +0000)
committerEzio Melotti <ezio.melotti@gmail.com>
Sat, 26 Jun 2010 18:47:01 +0000 (18:47 +0000)
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.
........

Objects/stringobject.c
Objects/unicodeobject.c

index 4b2eed58f8a0e24541a2e04c86431a1586405579..f8f6cefec7a9b004b11798990ece955be4f4c212 100644 (file)
@@ -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\
index 47249cb7fe25b8730635c6f7db9e8dbbe30416f9..392d8fdbf5afee526be3c929b4b7a55027f82e5d 100644 (file)
@@ -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\