New submission from Chris Jerdonek: > Date: 2012年9月13日 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> <http://bugs.python.org/issue16072> _______________________________________