map/filter/reduce/lambda opinions and background unscientific mini-survey

Erik Max Francis max at alcyone.com
Thu Jul 7 23:14:10 EDT 2005


Ron Adam wrote:

> It's not an empty tuple, it's an empty parenthesis.  Using tuples it 
> would be.
> 
> (a,) == (,)
> 
> which would be the same as:
> 
> (,) == (,)

 >>> ()
()
 >>> a = ()
 >>> type(a)
<type 'tuple'>
 >>> (,)
   File "<stdin>", line 1
     (,)
      ^
SyntaxError: invalid syntax

You've wandered way off into the woods now.

-- 
Erik Max Francis && max at alcyone.com && http://www.alcyone.com/max/
San Jose, CA, USA && 37 20 N 121 53 W && AIM erikmaxfrancis
   But since when can wounded eyes see / If we weren't who we were
   -- Joi



More information about the Python-list mailing list