In <[EMAIL PROTECTED]>, Ron Adam wrote:

> Reinhold Birkenfeld wrote:
>> Ron Adam wrote:
>>>(a) == ()
>> 
>> 
>> Whoops! a (which is None) is equal to the empty tuple (which is not None)?
> 
> It's not an empty tuple, it's an empty parenthesis.  Using tuples it 
> would be.

But empty parenthesis are parsed as empty tuple::

  In [8]: type( () )
  Out[8]: <type 'tuple'>

Ciao,
        Marc 'BlackJack' Rintsch
-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to