[EMAIL PROTECTED] writes: > Ben Finney: > > Generator literals do not require the parens at all. However, the > > syntax of where the generator literal *appears* can make it > > necessary to explicitly group the expression using parens. > > Have you taken a look at Boo? > In Python this isn't possible: > s = char for char in string.digits > You need ( ) there, while in Boo they aren't necessary there.
We seem to be saying the same thing in different ways. -- \ "Everyone is entitled to their own opinions, but they are not | `\ entitled to their own facts." -- US Senator Pat Moynihan | _o__) | Ben Finney -- http://mail.python.org/mailman/listinfo/python-list