[docs] [issue26847] filter docs unclear wording

Josh Rosenberg report at bugs.python.org
Tue Apr 26 00:01:43 EDT 2016


Josh Rosenberg added the comment:

"are equal to False" would be wrong though. Any "falsy" value is preserved by filterfalse, and removed by filter. They need not be equal to False (the bool singleton); empty containers (e.g. (), [], {}, "") are all considered false, and behave as such, despite not being equal to False.

----------
nosy: +josh.r

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue26847>
_______________________________________


More information about the docs mailing list