Is it really good?
Skip Montanaro
skip at pobox.com
Tue Jan 7 18:43:46 EST 2003
More information about the Python-list mailing list
Tue Jan 7 18:43:46 EST 2003
- Previous message (by thread): Is it really good?
- Next message (by thread): Is it really good?
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Nadav> Can someone explain why python does not raise NameError in the
Nadav> first test line b[e]low.
>>> 2 == 3 is good
0 # ????????????????????????
Chained operations. The above expression is effectively
(2 == 3) and (3 is good)
The first is false, so the second is never evaluated.
--
Skip Montanaro
skip at pobox.com
- Previous message (by thread): Is it really good?
- Next message (by thread): Is it really good?
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the Python-list mailing list