5c34
The last syntax line is incorrect. The first item must be a for, but the rest can be either for or if. E.g.
[a for b in c if d in e for f in g]
is syntactically correct (if not very meaningful, of course).
last updated 3 years ago by effbot #
