This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author gvanrossum
Recipients belopolsky, gvanrossum, twouters
Date 2008-03-15.16:18:08
SpamBayes Score 0.07811808
Marked as misclassified No
Message-id <1205597889.59.0.591051962702.issue2292@psf.upfronthosting.co.za>
In-reply-to
Content
Looking at the flatten() example I'm curious -- how come the output of

>>> flatten(L)

is displayed as a list rather than as <generator at xxxxxx> ?

Also, do I understand correctly that

yield *(1, 2, 3)

is equivalent to

yield 1
yield 2
yield 3

? (That's really cool.)
History
Date User Action Args
2008-03-15 16:18:09gvanrossumsetspambayes_score: 0.0781181 -> 0.07811808
recipients: + gvanrossum, twouters, belopolsky
2008-03-15 16:18:09gvanrossumsetspambayes_score: 0.0781181 -> 0.0781181
messageid: <1205597889.59.0.591051962702.issue2292@psf.upfronthosting.co.za>
2008-03-15 16:18:09gvanrossumlinkissue2292 messages
2008-03-15 16:18:08gvanrossumcreate