[New-bugs-announce] [issue16072] fix documentation of string.replace() signature

Chris Jerdonek report at bugs.python.org
Fri Sep 28 05:28:48 CEST 2012

New submission from Chris Jerdonek:

> 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>

(from: http://mail.python.org/pipermail/docs/2012-September/010521.html )

assignee: docs at python
components: Documentation
keywords: easy
messages: 171404
nosy: chris.jerdonek, docs at python
priority: normal
severity: normal
stage: needs patch
status: open
title: fix documentation of string.replace() signature
type: enhancement
versions: Python 2.7

Python tracker <report at bugs.python.org>

More information about the New-bugs-announce mailing list