diff options
author | Mariatta <Mariatta@users.noreply.github.com> | 2017-03-03 21:24:13 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-03-03 21:24:13 (GMT) |
commit | 1936ba93c900d47d0c8c915184ac2fa7773c952e (patch) | |
tree | b16dc14308d290bd78b2bb2ebd1291bb9111b7c5 /Doc/library | |
parent | 9d07aceedabcdc9826489f8b9baffff056283bb3 (diff) | |
download | cpython-1936ba93c900d47d0c8c915184ac2fa7773c952e.zip cpython-1936ba93c900d47d0c8c915184ac2fa7773c952e.tar.gz cpython-1936ba93c900d47d0c8c915184ac2fa7773c952e.tar.bz2 |
bpo-29709: Improve Boolean Operations documentation (#433) (#437)
(cherry picked from commit 8eb531d9db0861e14222445fcaebe1a373bba170)
Diffstat (limited to 'Doc/library')
-rw-r--r-- | Doc/library/stdtypes.rst | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Doc/library/stdtypes.rst b/Doc/library/stdtypes.rst index 9a4f42c..6729a20 100644 --- a/Doc/library/stdtypes.rst +++ b/Doc/library/stdtypes.rst @@ -108,11 +108,11 @@ Notes: (1) This is a short-circuit operator, so it only evaluates the second - argument if the first one is :const:`False`. + argument if the first one is false. (2) This is a short-circuit operator, so it only evaluates the second - argument if the first one is :const:`True`. + argument if the first one is true. (3) ``not`` has a lower priority than non-Boolean operators, so ``not a == b`` is |