◐ Shell
clean mode source ↗

Message 63021 - Python tracker

What do you guys think about just making the predicate argument optional? 

   filter([-2,0,2]) --> -2, 2
   filter(pred, iterable)

One arg is the first case and two args is the second case.