Process tuple contents on the fly

Tobiah toby at tobiah.org
Mon Apr 15 16:35:10 EDT 2013


On 04/15/2013 11:25 AM, Gnarlodious wrote:
> Say I have a tuple I want to expand assigning to variables:
>
> tup = *func()

What is the asterisk for?  I assume it's a python 3
thing, because I get a syntax error, but I'm having
trouble Googling it.

Thanks,

Tobiah




More information about the Python-list mailing list