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! -- http://mail.python.org/mailman/listinfo/python-list
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! -- http://mail.python.org/mailman/listinfo/python-list