[docs] [issue26847] filter docs unclear wording
Georg Brandl
report at bugs.python.org
Tue Apr 26 01:44:46 EDT 2016
Georg Brandl added the comment:
You didn't test your examples:
>>> [] == False
False
False is not equal to the "empty value" of any other type than other numeric types. (This is mostly because of how booleans were originally introduced to Python.)
"is false", on the other hand, is the conventional shorthand for `bool(x) == False`.
----------
nosy: +georg.brandl
resolution: -> not a bug
status: open -> closed
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue26847>
_______________________________________
More information about the docs
mailing list