]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
Revert the doc change done in r83880. str.replace with negative count value is not...
authorSenthil Kumaran <orsenthil@gmail.com>
Wed, 8 Sep 2010 12:50:29 +0000 (12:50 +0000)
committerSenthil Kumaran <orsenthil@gmail.com>
Wed, 8 Sep 2010 12:50:29 +0000 (12:50 +0000)
Objects/bytesobject.c

index 77f193cf45f873262cd3a26ba40de23cd1908b93..fc644f24c065915004794d2dc98ac7b2888869d2 100644 (file)
@@ -2131,8 +2131,7 @@ PyDoc_STRVAR(replace__doc__,
 \n\
 Return a copy of B with all occurrences of subsection\n\
 old replaced by new.  If the optional argument count is\n\
-positive, only the first count occurrences are replaced. A\n\
-negative value of count replaces all occurrences");
+given, only first count occurances are replaced.");
 
 static PyObject *
 bytes_replace(PyBytesObject *self, PyObject *args)