Paul Rubin <http://[EMAIL PROTECTED]> writes:

> Quadratic time!! Yowch!!  Back to the future:
>
> def rocket_science(xs):
>    for x in xs:
>       if x != 99:
>          yield x
>
> a[:] = list(rocket_science(a))

I call "useless use of list"!

a[:] = rocket_science(a)

:-)
-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to