Eric V. Smith added the comment:

If that's your concern, you can use operator.not_.

>>> import operator
>>> filter(operator.not_, [False, True, False, False, True])
[False, False, False]

----------

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue18537>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to