[Python-Dev] list splicing

Fred L. Drake, Jr. fdrake at acm.org
Tue Sep 20 04:43:18 CEST 2005

On Monday 19 September 2005 19:20, Raymond Hettinger wrote:
 > It might have a chance of acceptance this time if the proponents stick
 > with unpacking at the end:   a,b,*c=sometup  instead of a,*b,c=sometup.
 > The latter has usually gotten shot down quickly, taking the former down
 > with it.

True.  I'd be happy with it either way, since most of the time

    a, b, *rest = stuff_to_unpack

is all I really want.


Fred L. Drake, Jr.   <fdrake at acm.org>

More information about the Python-Dev mailing list