bool and unicode

Roman Yakovenko romany at actimize.com
Tue Aug 26 08:16:24 CEST 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