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 chris.jerdonek
Recipients chris.jerdonek, eitan.adler, paalped, r.david.murray, rhettinger, serhiy.storchaka, terry.reedy
Date 2020-10-08.21:36:01
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1602192961.07.0.0535162718448.issue33647@roundup.psfhosted.org>
In-reply-to
Content
Another API option is to use str.replace's existing arguments: str.replace(old, new[, count]). In addition to "old" and "new" being strings, they could also be lists of strings of equal length, similar to how str.maketrans() can accept two strings of equal length. Then, like maketrans(), each string in "old" would be replaced by the corresponding string at the same position in "new."
History
Date User Action Args
2020-10-08 21:36:01chris.jerdoneksetrecipients: + chris.jerdonek, rhettinger, terry.reedy, r.david.murray, serhiy.storchaka, eitan.adler, paalped
2020-10-08 21:36:01chris.jerdoneksetmessageid: <1602192961.07.0.0535162718448.issue33647@roundup.psfhosted.org>
2020-10-08 21:36:01chris.jerdoneklinkissue33647 messages
2020-10-08 21:36:01chris.jerdonekcreate