diff options
author | Mariatta <Mariatta@users.noreply.github.com> | 2017-03-03 21:23:55 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-03-03 21:23:55 (GMT) |
commit | 6e965d9e78b278f2f720a932e7b149cb7d88bd72 (patch) | |
tree | e004738be72f4fe649806781ab0007a77427d04f /Doc/library | |
parent | f7f024a721d53978d03129e8eb5111d4f74534a9 (diff) | |
download | cpython-6e965d9e78b278f2f720a932e7b149cb7d88bd72.zip cpython-6e965d9e78b278f2f720a932e7b149cb7d88bd72.tar.gz cpython-6e965d9e78b278f2f720a932e7b149cb7d88bd72.tar.bz2 |
bpo-29709: Improve Boolean Operations documentation (#433) (#436)
(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 71cb7f2..6b23b3e 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 |