[docs] [issue23153] Clarify Boolean Clause Results
R. David Murray
report at bugs.python.org
Sat Jan 3 14:19:57 CET 2015
R. David Murray added the comment:
Indeed, the short circuit and value return behavior is described in that section just before the example.
I agree with Joel. This is a tutorial, and part of the zen of Python is that all expressions have a boolean value. There are very few places in python programs where it would be considered Pythonic to "cast" a value to one of the two uniquely boolean values via the Bool operator, so it is better that it *not* be mentioned in this context.
----------
nosy: +r.david.murray
resolution: -> not a bug
stage: -> resolved
status: open -> closed
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue23153>
_______________________________________
More information about the docs
mailing list