[Python-ideas] return value of yield expressions

H. Krishnan hetchkay at gmail.com
Wed Sep 14 07:52:23 CEST 2011


In general, I wonder if 
    a, b, *args, c, *args2, d
could be syntax sugar for
    itertools.chain((a,b), args, (c,), args2, (d,))

Function calls could then support multiple *args and interperse *args with 
other positional arguments.

Krishnan
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-ideas/attachments/20110913/19db860a/attachment.html>


More information about the Python-ideas mailing list