summaryrefslogtreecommitdiffstats
path: root/Objects/bytesobject.c
diff options
context:
space:
mode:
authorSenthil Kumaran <orsenthil@gmail.com>2010-09-08 13:00:07 (GMT)
committerSenthil Kumaran <orsenthil@gmail.com>2010-09-08 13:00:07 (GMT)
commitf77342076e3ce1a342c1e8ab8b336095c0b026ef (patch)
treec4db3eafa74a69760a37f399e073fd5ed1867c63 /Objects/bytesobject.c
parent3c6261a90b4fb9e77c2967d84a03f526174775a7 (diff)
downloadcpython-f77342076e3ce1a342c1e8ab8b336095c0b026ef.zip
cpython-f77342076e3ce1a342c1e8ab8b336095c0b026ef.tar.gz
cpython-f77342076e3ce1a342c1e8ab8b336095c0b026ef.tar.bz2
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. ........
Diffstat (limited to 'Objects/bytesobject.c')
-rw-r--r--Objects/bytesobject.c3
1 files changed, 1 insertions, 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)