PEP 285: Adding a bool type
Aahz
aahz at pythoncraft.com
Sun Mar 31 15:35:29 EST 2002
In article <2NJp8.140405$Yv2.43077 at rwcrnsc54>,
Emile van Sebille <emile at fenx.com> wrote:
>
>Someone (Guido?) already mentioned that testing for true is redundant,
>but doesn't :
> if 2:
>imply
> if 2 == True:
Nope. That's like saying
if '':
having the same result as
if []:
implies that
'' == []
which is completely untrue.
--
Aahz (aahz at pythoncraft.com) <*> http://www.pythoncraft.com/
Why is this newsgroup different from all other newsgroups?
More information about the Python-list
mailing list