python 3.3 repr
robin at reportlab.com
Fri Nov 15 15:52:02 CET 2013
On 15/11/2013 14:40, Serhiy Storchaka wrote:
>> and then use repr throughout.
> Or rather
> except NameError:
> ascii = repr
> and then use ascii throughout.
apparently you can import ascii from future_builtins and the print() function is
from __future__ import print_function
nothing fixes all those %r formats to be %a though :(
More information about the Python-list