¡@

Home 

python Programming Glossary: userunicode

Python print isn't using __repr__, __unicode__ or __str__ for unicode subclass?

http://stackoverflow.com/questions/15687676/python-print-isnt-using-repr-unicode-or-str-for-unicode-subclass

unicode return values and with a unicode repr is... class UserUnicode str ... def __repr__ self ... return u' s' super UserUnicode.. str ... def __repr__ self ... return u' s' super UserUnicode self .__str__ ... def __str__ self ... return super UserUnicode.. self .__str__ ... def __str__ self ... return super UserUnicode self .__str__ ... def __unicode__ self ... return unicode super..