[Python-ideas] Unpack of sequences

Greg Ewing greg.ewing at canterbury.ac.nz
Thu Aug 30 04:25:50 CEST 2012

On 30/08/12 10:21, Guido van Rossum wrote:
> Until unpacking assignment support an equivalent to keyword parameters
> with default values we won't need * there to mean "there should be no
> more values". But giving it the *opposite* meaning of "and ignore
> subsequent values" would be just perverse given what it means in
> function declarations.

How about

    a, b, c, ... = d


More information about the Python-ideas mailing list