From: Mariatta Date: Fri, 3 Mar 2017 21:23:55 +0000 (-0800) Subject: bpo-29709: Improve Boolean Operations documentation (#433) (#436) X-Git-Tag: v3.5.4rc1~307 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=6e965d9e78b278f2f720a932e7b149cb7d88bd72;p=thirdparty%2FPython%2Fcpython.git bpo-29709: Improve Boolean Operations documentation (#433) (#436) (cherry picked from commit 8eb531d9db0861e14222445fcaebe1a373bba170) --- diff --git a/Doc/library/stdtypes.rst b/Doc/library/stdtypes.rst index 71cb7f264357..6b23b3eb6106 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