Alan Gauld wrote:
"Tim Golden" <[EMAIL PROTECTED]> wrote
In fact I guess you could say that the new definition of a list
comprehension is
[ generator expression]
Well, not if sure if you meant that literally
No I meant in syntactic terms.
I imagined that that was what you meant. I think
it's been explained further down the thread
(I've only skimmed I'm afraid).
My only further contribution here is a bit of a
caveat when using genexps as a (for me) clearer
form of a list comp, which I blogged about a while
back (tinyurl link to my own blog):
http://tinyurl.com/6za97g
TJG
_______________________________________________
Tutor maillist - Tutor@python.org
http://mail.python.org/mailman/listinfo/tutor