[Python-Dev] (no subject)
Victor Stinner
victor.stinner at gmail.com
Tue Feb 10 08:20:06 CET 2015
To be logic, I expect [(*item) for item in mylist] to simply return mylist.
[*(item for item in mylist] with mylist=[(1, 2), (3,)] could return [1, 2,
3], as just [*mylist], so "unpack" mylist.
Victor
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-dev/attachments/20150210/13d702d3/attachment.html>
More information about the Python-Dev
mailing list