[Python-3000] Types and classes

Guido van Rossum guido at python.org
Tue Apr 8 06:41:55 CEST 2008


On Mon, Apr 7, 2008 at 8:04 PM, Terry Reedy <tjreedy at udel.edu> wrote:
>  Should print() have an option to convert with repr instead of str?

I don't think so -- just write the repr() call. Or write

print(*map(repr, (a, b, c)))

-- 
--Guido van Rossum (home page: http://www.python.org/~guido/)


More information about the Python-3000 mailing list