On Sun, Jun 19, 2016 at 4:04 AM, Danny Yoo <d...@hashcollision.org> wrote:
>
>> def f((x,y), z):
> ...      print x, y, z
> ...
>>   f([1, 2], 3)
> 1 2 3

Note that Python 3 doesn't support tuple parameter unpacking. See PEP 3113:

https://www.python.org/dev/peps/pep-3113
_______________________________________________
Tutor maillist  -  Tutor@python.org
To unsubscribe or change subscription options:
https://mail.python.org/mailman/listinfo/tutor

Reply via email to