"Kent Johnson" <ken...@tds.net> wrote

In Python v3 list comprehensions and generator expressions have been "merged" in that putting a GE inside [] has the same effect as a LC.

I think you mean this (from http://docs.python.org/3.0/whatsnew/3.0.html):

Yeah, that's what I was thinking about but my memory played tricks
and it doesn't say exactly what I thought it said! :-)

Alan G

_______________________________________________
Tutor maillist  -  Tutor@python.org
http://mail.python.org/mailman/listinfo/tutor

Reply via email to