Skip to content

Commit 6e965d9

Browse files
authored
bpo-29709: Improve Boolean Operations documentation (#433) (#436)
(cherry picked from commit 8eb531d)
1 parent f7f024a commit 6e965d9

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Doc/library/stdtypes.rst

+2-2
Original file line numberDiff line numberDiff line change
@@ -108,11 +108,11 @@ Notes:
108108

109109
(1)
110110
This is a short-circuit operator, so it only evaluates the second
111-
argument if the first one is :const:`False`.
111+
argument if the first one is false.
112112

113113
(2)
114114
This is a short-circuit operator, so it only evaluates the second
115-
argument if the first one is :const:`True`.
115+
argument if the first one is true.
116116

117117
(3)
118118
``not`` has a lower priority than non-Boolean operators, so ``not a == b`` is

0 commit comments

Comments
 (0)