Ron Adam wrote: > Given the statement: > > a = None > > And the following are all true: > > a == None
Okay. > (a) == (None) Okay. > (a) == () Whoops! a (which is None) is equal to the empty tuple (which is not None)? > (None) == () > > Then this "conceptual" comparison should also be true: > > if (None): == if (): > if (): == if: I can't really see any coherent concept here. Reinhold -- http://mail.python.org/mailman/listinfo/python-list