why does this unpacking work

Carsten Haese carsten at uniqsys.com
Fri Oct 20 15:40:34 EDT 2006


On Fri, 2006-10-20 at 15:37, Carsten Haese wrote:
> for x in t:
>   y,z = t
>   # do something with y and z

Typo here, of course I mean y,z = x.

-Carsten





More information about the Python-list mailing list