This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author mark
Recipients georg.brandl, mark
Date 2008-05-29.14:08:42
SpamBayes Score 0.13220538
Marked as misclassified No
Message-id <1212070124.26.0.110608739832.issue2999@psf.upfronthosting.co.za>
In-reply-to
Content
>>> help(str.replace)
Help on method_descriptor:

replace(...)
    S.replace (old, new[, maxsplit]) -> unicode
    
    Return a copy of S with all occurrences of substring
    old replaced by new.  If the optional argument maxsplit is
    given, only the first maxsplit occurrences are replaced.


The variable name maxsplit should be "maxreplacements" or similar.
Also "-> unicode" should be "-> str"
History
Date User Action Args
2008-05-29 14:08:44marksetspambayes_score: 0.132205 -> 0.13220538
recipients: + mark, georg.brandl
2008-05-29 14:08:44marksetspambayes_score: 0.132205 -> 0.132205
messageid: <1212070124.26.0.110608739832.issue2999@psf.upfronthosting.co.za>
2008-05-29 14:08:43marklinkissue2999 messages
2008-05-29 14:08:42markcreate