On 2015-02-05 09:08, Ian Kelly wrote:
> > Got an example where you can use a,b but not [a,b] or (a,b)?  
> 
> >>> def f(a, (b, c)):  
> ...     print a, b, c
> ...

Interesting.  I knew that at one point you could do this with lambdas
but never thought to do it with regular functions.  There are times
this would have been useful, but since it appears to have gone away
in Py3, I guess I won't adopt it.

-tkc


-- 
https://mail.python.org/mailman/listinfo/python-list

Reply via email to