Message 63553 - Python tracker (original) (raw)

Looking at the flatten() example I'm curious -- how come the output of

flatten(L)

is displayed as a list rather than as ?

Also, do I understand correctly that

yield *(1, 2, 3)

is equivalent to

yield 1 yield 2 yield 3

? (That's really cool.)