New statement proposal for Python

Remco Gerlich scarblac at pino.selwerd.nl
Sun Jun 17 05:54:56 EDT 2001


David LeBlanc <whisper at oz.nospamnet> wrote in comp.lang.python:
> you mistake a simple example for how something would of necessity be 
> done. it could just as esasily be "alias true : not none and not 0"
> 
> Of course you would prefer your method...

true = not None
true = not 0
true = not None and not 0

are all completely equal to

true = 1

So I'm completely confused about what you want with that statement.

-- 
Remco Gerlich



More information about the Python-list mailing list