On Sat, Mar 15, 2008 at 4:15 PM, Guido van Rossum <[EMAIL PROTECTED]> wrote: > >>> L = [ a, (3, 4), {5}, {6: None}, (i for i in range(7, 10)) ] > >>> [ *item for item in L ] > [0, 1, 2, 3, 4, 5, 6, 7, 8, 9]
Can you mix freely? >>> [*(*item, *item) for item in L] [0, 1, 2, 0, 1, 2, 3, 4, 3, 4, 5, 5, 6, 6, 7, 8, 9, 7, 8, 9] -- mvh Björn _______________________________________________ Python-3000 mailing list Python-3000@python.org http://mail.python.org/mailman/listinfo/python-3000 Unsubscribe: http://mail.python.org/mailman/options/python-3000/archive%40mail-archive.com