[Python-ideas] Allow filter(items)

Ethan Furman ethan at stoneleaf.us
Mon Aug 5 21:03:56 CEST 2013


On 08/05/2013 11:31 AM, � wrote:
> -1 There should be only one way and there are lots of ways already. Use a genexp for readability: (x for x in items if x)

One Obvious Way *not* Only One Way.  :)

--
~Ethan~


More information about the Python-ideas mailing list