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. ........
This commit is contained in:
parent
3c6261a90b
commit
f77342076e
|
@ -2557,8 +2557,7 @@ PyDoc_STRVAR(replace__doc__,
|
||||||
\n\
|
\n\
|
||||||
Return a copy of B with all occurrences of subsection\n\
|
Return a copy of B with all occurrences of subsection\n\
|
||||||
old replaced by new. If the optional argument count is\n\
|
old replaced by new. If the optional argument count is\n\
|
||||||
positive, only the first count occurrences are replaced. A\n\
|
given, only first count occurances are replaced.");
|
||||||
negative value of count replaces all occurrences");
|
|
||||||
|
|
||||||
static PyObject *
|
static PyObject *
|
||||||
bytes_replace(PyBytesObject *self, PyObject *args)
|
bytes_replace(PyBytesObject *self, PyObject *args)
|
||||||
|
|
Loading…
Reference in New Issue