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

Doc/library/stdtypes.rst

index c1cc35c69d3516a609c80e9f78af8a17a1216fd6..bd3a17942fa3479ed9502118ed64134aa0d8f6cc 100644 (file)
@@ -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