Idea for improved tuple unpacking

Pete Shinners pshinners at mediaone.net
Fri Oct 20 01:21:12 EDT 2000


"Michael Haggerty" <mhagger at alum.mit.edu> wrote
>     (first,second,*rest) = t

i like the idea. if someone does shoot to get this implemented,
it would be extra beneficial if the "*fill_arg" could be placed
anywhere in the unpacked tuple list.

first, *middle, last = mytuple







More information about the Python-list mailing list