http://www.python.org/dev/peps/pep-0289/
The generator part in the example is the '(y in [])' the rest is a list comprehension (a short way of writing for loops that can be implemented very efficiently in a language and will return a list).
[UPDATE] Found a better explanation that also explains expression closures at http://ejohn.org/blog/javascript-18-progress/