Fix Issue5416 - explain negative value for count in bytes object replace.

This commit is contained in:
Senthil Kumaran 2010-08-09 08:56:25 +00:00
parent 25803f70fb
commit 77210b4fa9
1 changed files with 2 additions and 1 deletions

View File

@ -2150,7 +2150,8 @@ 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\
given, only the first count occurrences are replaced.");
positive, only the first count occurrences are replaced. A\n\
negative value of count replaces all occurences");
static PyObject *
bytes_replace(PyBytesObject *self, PyObject *args)