Let u'%s' % obj try obj.__unicode__() first and fallback to obj.__str__().
2 files changed