bool and unicode

Roman Yakovenko romany at actimize.com
Tue Aug 26 02:16:24 EDT 2003


Hi. 

>>> bool( u'True' )
True
>>> bool( u'False' )
True
>>> 

May somebody explain or give a reference to reason of such behaviour?

Thanks. 

 Roman





More information about the Python-list mailing list