diff options
author | Senthil Kumaran <orsenthil@gmail.com> | 2010-09-08 12:50:29 (GMT) |
---|---|---|
committer | Senthil Kumaran <orsenthil@gmail.com> | 2010-09-08 12:50:29 (GMT) |
commit | 9a9dd1c14069701f25983af56c55a7ec6afd83c8 (patch) | |
tree | b4e1477235d1f55a1c6826290a70ac041dbfade6 /Objects | |
parent | 079ce54efeaed08af1ee979e5f794754337e9c1b (diff) | |
download | cpython-9a9dd1c14069701f25983af56c55a7ec6afd83c8.zip cpython-9a9dd1c14069701f25983af56c55a7ec6afd83c8.tar.gz cpython-9a9dd1c14069701f25983af56c55a7ec6afd83c8.tar.bz2 |
Revert the doc change done in r83880. str.replace with negative count value is not a feature.
Diffstat (limited to 'Objects')
-rw-r--r-- | Objects/bytesobject.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/Objects/bytesobject.c b/Objects/bytesobject.c index 77f193c..fc644f2 100644 --- a/Objects/bytesobject.c +++ b/Objects/bytesobject.c @@ -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) |