Is there a better/simpler way to filter blank lines?
Ben Finney
bignose+hates-spam at benfinney.id.au
Wed Nov 5 19:19:46 EST 2008
Steven D'Aprano <steve at REMOVE-THIS-cybersource.com.au> 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
More information about the Python-list
mailing list