[prev in list] [next in list] [prev in thread] [next in thread]
List: python-list
Subject: Re: map/filter/reduce/lambda opinions and background unscientific
From: "Marc 'BlackJack' Rintsch" <bj_666 () gmx ! net>
Date: 2005-07-07 22:01:07
Message-ID: pan.2005.07.07.22.01.07.882136 () gmx ! net
[Download RAW message or body]
In <sFcze.219803$w15.78971@tornado.tampabay.rr.com>, 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
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic