A generator expression can "share" the parenthesis of a function call. The syntax is explained in PEP 289, which is also in "What's new" in the Python 2.4 docs. Nice line of code!