bpo-29709: Improve Boolean Operations documentation (#433)
Change False into false, and True into true.
This commit is contained in:
parent
5dfccb06dc
commit
8eb531d9db
|
@ -108,11 +108,11 @@ Notes:
|
||||||
|
|
||||||
(1)
|
(1)
|
||||||
This is a short-circuit operator, so it only evaluates the second
|
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)
|
(2)
|
||||||
This is a short-circuit operator, so it only evaluates the second
|
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)
|
(3)
|
||||||
``not`` has a lower priority than non-Boolean operators, so ``not a == b`` is
|
``not`` has a lower priority than non-Boolean operators, so ``not a == b`` is
|
||||||
|
|
Loading…
Reference in New Issue