Boolean Values

Ben Wolfson wolfson at uchicago.edu
Thu Apr 5 19:37:32 EDT 2001


In article <mailman.986491749.6618.python-list at python.org>, "D-Man"
<dsh8290 at rit.edu> wrote:

> On Tue, Apr 03, 2001 at 09:59:32PM +0200, Moshe Zadka wrote: | For all
> those crying for boolean values, here's a simple module | that will
> hopefully solve all your needs: |
> ...
> | import __builtin__
> | __builtin__.true = _true()
> | __builtin__.false = _false()
> | __builtin__.dunno = _dunno()

>>>> __builtins__.true = _true()
              ^
> Traceback (innermost last):
>   File "<console>", line 1, in ?
> NameError: __builtins__
                      ^

also, the import statement.

-- 
Barnabas T. Rumjuggler
The women come and go,
Speaking of the Regis Philbin Show
 -- Joe Frank



More information about the Python-list mailing list