On 13/02/2012 03:04, bearophile wrote:
In the online docs I've seen that std.string.maketrans() is (going to be) deprecated. How do you adapt this code to the new regime?
<snip>
Use an associative array for the translation table. Or write your own functions that work in the same way as maketrans/translate. Stewart.