• Guido van Rossum's avatar
    Changed my mind on replace(). · 21aa0ef3
    Guido van Rossum authored
    It's now replace(str, old, new, maxsplit=0).
    Note new ordering of parameters (string first);
    this is more consistent with translate().
    21aa0ef3
string.py 8.34 KB