[docs] [issue5416] str.replace does strange things when given a negative count
Senthil Kumaran
report at bugs.python.org
Wed Sep 8 15:02:57 CEST 2010
Senthil Kumaran <orsenthil at gmail.com> added the comment:
Reverted the changes in r84626 (release27-maint), r84629(py3k), r84630 (release31-maint).
- Minor doc clarification included wherein maxreplace is the argument instead of maxsplit in py27.
- Also, did not bother to remove -1 in maxreplace. It is used as sentinel value for an optional argument. As it is not explicitly documented, the negative value for arg should not be relied upon.
----------
status: open -> closed
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue5416>
_______________________________________
More information about the docs
mailing list