[issue18537] bool.toggle()
Eric V. Smith
report at bugs.python.org
Tue Jul 23 18:39:25 CEST 2013
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 <report at bugs.python.org>
<http://bugs.python.org/issue18537>
_______________________________________
More information about the Python-bugs-list
mailing list