[Python-3000] Types and classes (original) (raw)
Guido van Rossum guido at python.org
Tue Apr 8 06:41:55 CEST 2008
- Previous message: [Python-3000] Types and classes
- Next message: [Python-3000] Types and classes
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
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/)
- Previous message: [Python-3000] Types and classes
- Next message: [Python-3000] Types and classes
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]