> > Use a genexp when you need a generator
> > and use a listcomp when you need a list.

[Steven Bethard]
> So do I read this right in preferring
>      [<x> for <y> in <z>]
> over
>      list(<x> for <y> in <z>)

Yes!


Raymond


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

Reply via email to