@contextfilter
def do_reject(*args, **kwargs):
 return _select_or_reject(args, kwargs, (lambda x: (not x)), False)

@ contextfilter def do_reject ( * args , ** kwargs ) : return _select_or_reject ( args , kwargs , ( lambda x : ( not x ) ) , False )
filters a sequence of objects by applying a test to each object .