Terry Reedy <tjre...@udel.edu> writes: > On 12/23/2014 4:25 PM, Ben Finney wrote: > > To be clear: there's nothing about parentheses that produce a > > generator expression. > > Incorrect; parentheses *are* as a part of 'generator expression'. > From the doc: > generator_expression ::= "(" expression comp_for ")"
Thanks for the correction. -- \ “Yesterday I saw a subliminal advertising executive for just a | `\ second.” —Steven Wright | _o__) | Ben Finney -- https://mail.python.org/mailman/listinfo/python-list