>      [spam, ham] = ['yum', 'YUM']
>
> I don't see how this is any different than a tuple unpacking assignment:
>
>      >>> a, b = 1, 2

It's not different.  They are ways of writing the same thing.


Raymond Hettinger

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

Reply via email to