On Mon, Nov 27, 2017 at 1:13 PM, Greg Ewing <greg.ew...@canterbury.ac.nz>
wrote:

> 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.


I'm not that surprised. While it appears to rhyme with the use of a lone
'*' in function signatures, it would actually mean the opposite: in
signatures it means "don't allow any more". These opposite meanings would
cause some confusion.

-- 
--Guido van Rossum (python.org/~guido)
_______________________________________________
Python-ideas mailing list
Python-ideas@python.org
https://mail.python.org/mailman/listinfo/python-ideas
Code of Conduct: http://python.org/psf/codeofconduct/

Reply via email to