Steven D'Aprano <[EMAIL PROTECTED]> writes: > I'm surprised that nobody yet has RTFM: > http://docs.python.org/reference/expressions.html > > generator_expression ::= "(" expression genexpr_for ")" > ... > The parentheses can be omitted on calls with only one argument.
It's a fair cop. Thanks for setting me straight. -- \ “We can't depend for the long run on distinguishing one | `\ bitstream from another in order to figure out which rules | _o__) apply.” —Eben Moglen, _Anarchism Triumphant_, 1999 | Ben Finney -- http://mail.python.org/mailman/listinfo/python-list