[docs] Problem with the documentation for string.replace

Chris Jerdonek chris.jerdonek at gmail.com
Fri Sep 28 05:31:01 CEST 2012


> Date: Thu, 13 Sep 2012 09:42:47 -0400
> To: <docs at python.org>
> Subject: [docs] Problem with the documentation for string.replace
>
> >From http://docs.python.org/library/string.html
>
> string.replace(str, old, new[, maxreplace])?<http://docs.python.org/library/string.html#string.replace>
> 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.
>
> it would appear this needs to be
> string.replace(old, new[, maxreplace])?<http://docs.python.org/library/string.html#string.replace>

Hi Pradyot, thanks for the report.  I created an issue in the tracker
for this here:

http://bugs.python.org/issue16072

--Chris


More information about the docs mailing list