[docs] Logic operators description not general.
Sigurd Meldgaard
sigurdm at google.com
Wed May 13 15:06:13 CEST 2015
Both on
https://docs.python.org/2/library/stdtypes.html
https://docs.python.org/3/library/stdtypes.html
in the part: 4.2. Boolean Operations — and, or, not
Says: This is a short-circuit operator, so it only evaluates the second
argument if the first one is False.
And several similar formulations.
It would be more correct to say:
This is a short-circuit operator, so it only evaluates the second argument
if the first one tests to a false value.
Thanks
Sigurd
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/docs/attachments/20150513/7e35ce3d/attachment.html>
More information about the docs
mailing list