[Python-ideas] How assignment should work with generators?

Greg Ewing greg.ewing at canterbury.ac.nz
Mon Nov 27 16:13:01 EST 2017


Chris Angelico wrote:

> x, y, * = iter # unpack into nothing

I'm surprised this isn't already allowed. It seems like the
One Obvious Way to me.

-- 
Greg


More information about the Python-ideas mailing list