From f77342076e3ce1a342c1e8ab8b336095c0b026ef Mon Sep 17 00:00:00 2001 From: Senthil Kumaran Date: Wed, 8 Sep 2010 13:00:07 +0000 Subject: Merged revisions 84629 via svnmerge from svn+ssh://pythondev@svn.python.org/python/branches/py3k ........ r84629 | senthil.kumaran | 2010-09-08 18:20:29 +0530 (Wed, 08 Sep 2010) | 3 lines Revert the doc change done in r83880. str.replace with negative count value is not a feature. ........ --- Objects/bytesobject.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/Objects/bytesobject.c b/Objects/bytesobject.c index e580884..85267a7 100644 --- a/Objects/bytesobject.c +++ b/Objects/bytesobject.c @@ -2557,8 +2557,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) -- cgit v0.12