Changed my mind on replace().
It's now replace(str, old, new, maxsplit=0). Note new ordering of parameters (string first); this is more consistent with translate().
Showing
Please
register
or
sign in
to comment
It's now replace(str, old, new, maxsplit=0). Note new ordering of parameters (string first); this is more consistent with translate().