diff Objects/bytesobject.c @ 64564:a4cfd5b5df96

Revert the doc change done in r83880. str.replace with negative count value is not a feature.
author Senthil Kumaran <orsenthil@gmail.com>
date Wed, 08 Sep 2010 12:50:29 +0000
parents 9028f23db74b
children e8969fb822fc
line wrap: on
line diff
--- a/Objects/bytesobject.c	Wed Sep 08 12:37:10 2010 +0000
+++ b/Objects/bytesobject.c	Wed Sep 08 12:50:29 2010 +0000
@@ -2131,8 +2131,7 @@
 \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)