bpo-29709: Improve Boolean Operations documentation (#433) (#437) · python/cpython@1936ba9 (original) (raw)

Original file line number Diff line number Diff line change
@@ -108,11 +108,11 @@ Notes:
108 108
109 109 (1)
110 110 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.
112 112
113 113 (2)
114 114 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.
116 116
117 117 (3)
118 118 ``not`` has a lower priority than non-Boolean operators, so ``not a == b`` is