why does this unpacking work

John Salerno johnjsal at NOSPAMgmail.com
Fri Oct 20 18:33:01 EDT 2006


Marc 'BlackJack' Rintsch wrote:

> Uhm, you mean::
> 
>  pair = (("California","San Francisco"),)
> 
> Note the extra comma to make that "a tuple in a tuple".
> 
> Ciao,
> 	Marc 'BlackJack' Rintsch

You're right!



More information about the Python-list mailing list