[docs] [issue16072] fix documentation of string.replace() signature
Andrew Svetlov
report at bugs.python.org
Fri Sep 28 14:16:41 CEST 2012
Andrew Svetlov added the comment:
No it shoudn't.
It works exactly as described:
Return a copy of string *str* with all occurrences of substring *old* replaced by *new*. If the optional argument *maxreplace* is given, the first *maxreplace* occurrences are replaced.
*str* is updated string and it is definitelly required.
----------
nosy: +asvetlov
resolution: -> invalid
stage: needs patch -> committed/rejected
status: open -> closed
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue16072>
_______________________________________
More information about the docs
mailing list