Eric V. Smith added the comment:

This isn't strictly related to printing a tuple. It's the difference between 
str() and repr():

>>> print (u"äöü")      # uses str
äöü
>>> print repr(u"äöü")
u'\xe4\xf6\xfc'

When the tuple is printed, it uses the repr of its constituent parts.

----------

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue19210>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to