[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:       Erik Max Francis <max () alcyone ! com>
Date:       2005-07-08 3:14:10
Message-ID: 6oadncSMIs0fclDfRVn-jg () speakeasy ! net
[Download RAW message or body]

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@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
-- 
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