def a((b,c,d),e):

George Sakkis gsakkis at rutgers.edu
Tue Apr 19 04:10:11 EDT 2005


François Pinard wrote:

> The most useful place for implicit tuple unpacking, in my experience,
> is likely  at the left of the `in' keyword in `for' statements (and
> it is even nicer when one avoids extraneous parentheses).

... and would be nicest (IMO) if default arguments and *varargs were
allowed too; check http://tinyurl.com/dcb2q for a relevant thread.

George




More information about the Python-list mailing list