New submission from Chris Jerdonek: > Date: Thu, 13 Sep 2012 09:42:47 -0400 > To: <d...@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@python components: Documentation keywords: easy messages: 171404 nosy: chris.jerdonek, docs@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 <rep...@bugs.python.org> <http://bugs.python.org/issue16072> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com