Lie <[EMAIL PROTECTED]> writes: > What makes a generator expression is "<exp> for <var-or-tuple> in > <exp>". > > Parenthesis is generally required because without it, it's almost > impossible to differentiate it with the surrounding. But it is not > part of the formally required syntax.
... But *every* generator expression is surrounded by parentheses, isn't it? -- Arnaud -- http://mail.python.org/mailman/listinfo/python-list