From: Mariatta Date: Fri, 3 Mar 2017 21:34:52 +0000 (-0800) Subject: bpo-29709: Improve Boolean Operations documentation (#433) (#438) X-Git-Tag: v2.7.14rc1~257 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=fc59e5c7073af4d9255644a83933dd5b14c7f722;p=python bpo-29709: Improve Boolean Operations documentation (#433) (#438) (cherry picked from commit 8eb531d9db0861e14222445fcaebe1a373bba170) --- diff --git a/Doc/library/stdtypes.rst b/Doc/library/stdtypes.rst index c1cc35c69d..bd3a17942f 100644 --- a/Doc/library/stdtypes.rst +++ b/Doc/library/stdtypes.rst @@ -113,11 +113,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