From: Mariatta Date: Fri, 3 Mar 2017 21:24:13 +0000 (-0800) Subject: bpo-29709: Improve Boolean Operations documentation (#433) (#437) X-Git-Tag: v3.6.1rc1~11 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=1936ba93c900d47d0c8c915184ac2fa7773c952e;p=python bpo-29709: Improve Boolean Operations documentation (#433) (#437) (cherry picked from commit 8eb531d9db0861e14222445fcaebe1a373bba170) --- diff --git a/Doc/library/stdtypes.rst b/Doc/library/stdtypes.rst index 9a4f42caa4..6729a20a9c 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