[Python-ideas] Allow "assigning" to Ellipse to discard values.

Greg Ewing greg.ewing at canterbury.ac.nz
Wed Feb 11 21:06:55 CET 2015


Daniel Holth wrote:
> How about zero characters between commas? In ES6 destructing
> assignment you'd writes something like ,,c = (1,2,3)

Wouldn't play well with the syntax for 1-element tuples:

    c, = stuff

Is len(stuff) expected to be 1 or 2?

-- 
Greg


More information about the Python-ideas mailing list