Nicer interface for str.translate

2 posts were split to a new topic: Why don’t the core devs make the changes I want?