]> granicus.if.org Git - python/commitdiff
bpo-29709: Improve Boolean Operations documentation (#433) (#436)
authorMariatta <Mariatta@users.noreply.github.com>
Fri, 3 Mar 2017 21:23:55 +0000 (13:23 -0800)
committerGitHub <noreply@github.com>
Fri, 3 Mar 2017 21:23:55 +0000 (13:23 -0800)
(cherry picked from commit 8eb531d9db0861e14222445fcaebe1a373bba170)

Doc/library/stdtypes.rst

index 71cb7f2643576eaafd068af749ba917f606cda46..6b23b3eb610657191aa4bc0c9458ea30303f7abf 100644 (file)
@@ -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