PEP 285: Adding a bool type
Erik Max Francis
max at alcyone.com
Sun Mar 31 14:09:47 EST 2002
Ralph Corderoy wrote:
> What do you think of `truth(x)' for all the good reasons listed
> elsewhere in the thread? You used truth yourself instead of Boolean
> above.
But you already have precisely this:
from operator import truth
--
Erik Max Francis / max at alcyone.com / http://www.alcyone.com/max/
__ San Jose, CA, US / 37 20 N 121 53 W / ICQ16063900 / &tSftDotIotE
/ \ Nationalism is an infantile sickness.
\__/ Albert Einstein
Alcyone Systems' Daily Planet / http://www.alcyone.com/planet.html
A new, virtual planet, every day.
More information about the Python-list
mailing list