[Python-checkins] r84629 - python/branches/py3k/Objects/bytesobject.c
senthil.kumaran
python-checkins at python.org
Wed Sep 8 14:50:29 CEST 2010
Author: senthil.kumaran
Date: Wed Sep 8 14:50:29 2010
New Revision: 84629
Log:
Revert the doc change done in r83880. str.replace with negative count value is not a feature.
Modified:
python/branches/py3k/Objects/bytesobject.c
Modified: python/branches/py3k/Objects/bytesobject.c
==============================================================================
--- python/branches/py3k/Objects/bytesobject.c (original)
+++ python/branches/py3k/Objects/bytesobject.c Wed Sep 8 14:50:29 2010
@@ -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)
More information about the Python-checkins
mailing list