[docs] str.replace (http://docs.python.org/library/stdtypes.html#str.replace)

Georg Brandl georg at python.org
Tue Mar 27 08:05:54 CEST 2012


On 20.03.2012 18:40, Jannes van 't Oever wrote:
> In section: http://docs.python.org/library/stdtypes.html#str.replace
> the string to parse is missing in the parameters.
> 
> -- str.replace(old, new[, count])
> 
> This should read:
> 
> -- str.replace(str, old, new[, count])
> 
> Kind regards,
> Jannes van 't Oever

Hi Jannes,

while you are right that the unbound method "str.replace" gets a self
argument, we never list that in the docs as it's always implied for
methods.

cheers,
Georg


More information about the docs mailing list