"0 in [True,False]" returns True
Erik Max Francis
max at alcyone.com
Tue Dec 13 11:21:26 CET 2005
bonono at gmail.com wrote:
> True too, and could be the reason(or similar too) why the OP wants to
> test the type rather than the logical value of it.
The type is for the self-documentation purposes. The value is the same;
so no, that's not a good reason either.
Erik Max Francis && max at alcyone.com && http://www.alcyone.com/max/
San Jose, CA, USA && 37 20 N 121 53 W && AIM erikmaxfrancis
Ipsa scientia potestas est. "Knowledge itself is power."
-- a Latin proverb
More information about the Python-list