On Fri, Jun 18, 2021 at 11:13 PM Stephen J. Turnbull
<[email protected]> wrote:
> Serhiy writes that a reason for not allowing this is that you'd want
> to allow [x, y for x in l], splicing the x, y values into the result
> list.  That doesn't make sense to me, for two reasons.  x, y already
> has a meaning in that context

Actually it doesn't - it's a SyntaxError, possibly for this exact reason.

ChrisA
_______________________________________________
Python-ideas mailing list -- [email protected]
To unsubscribe send an email to [email protected]
https://mail.python.org/mailman3/lists/python-ideas.python.org/
Message archived at 
https://mail.python.org/archives/list/[email protected]/message/GXD6G6A2YL7SADDRYJ2EGIFRKZSVYII6/
Code of Conduct: http://python.org/psf/codeofconduct/

Reply via email to