
Feb. 26, 2010
12:35 a.m.
On Thu, Feb 25, 2010 at 6:40 PM, Greg Ewing <greg.ewing@canterbury.ac.nz> wrote:
[x from numbers if x%2==1]
I like this, but it has the same readability issue I noted for cases where decomposition is used: [(k, v) from somedict.items() if condition(v)] -Fred -- Fred L. Drake, Jr. <fdrake at gmail.com> "Chaos is the score upon which reality is written." --Henry Miller