Raymond Hettinger added the comment: 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. __________________________________ Tracker <[EMAIL PROTECTED]> <http://bugs.python.org/issue2186> __________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com