[Python-ideas] Allow filter(items)

Terry Reedy tjreedy at udel.edu
Wed Aug 7 19:20:04 CEST 2013


On 8/7/2013 4:55 AM, Serhiy Storchaka wrote:

> The default predicate is not "bool". The default is identity function
> (lambda x: x).

Not really. None means "do not apply *any* predicate function".

-- 
Terry Jan Reedy



More information about the Python-ideas mailing list