[issue33647] Make string.replace accept a dict instead of two arguments

2018-05-25 Thread R. David Murray
Change by R. David Murray : -- versions: -Python 3.6, Python 3.7 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscrib

[issue33647] Make string.replace accept a dict instead of two arguments

2018-05-25 Thread R. David Murray
R. David Murray added the comment: That is not kwargs, that's a passing a dict. Which is what you would want, since the strings you want to replace might not be valid identifiers, and so couldn't be passed as keyword arguments. I think I'm -0.5 on this. I don't think complicating the api is