Re: multi-statement lines ( why can't I ... )
Guido.van.Rossum@cwi.nl
Sat, 11 Dec 1993 00:23:07 +0100
> | >>>for x in list: if testof(x) :
> | ... do_somthing
>
> Possible rewrite:
>
> for x in testof(list):
> do_something
I don't know if I like this particularly, but if you do, in release
1.0 you will be able to write
for x in filter(testof, list): do_something
--Guido van Rossum, CWI, Amsterdam <Guido.van.Rossum@cwi.nl>