Python 2.3 True = False

Skip Montanaro skip at pobox.com
Mon Mar 24 15:02:34 EST 2003


    Rene> You have got to be kidding :-D

    Rene> What did it assign True and False to? And why?

Lots of stuff like

    try:
        x = True
    except NameError:
        True = 1
        False = 0

Skip





More information about the Python-list mailing list