mirror of
https://github.com/python/cpython.git
synced 2025-09-30 12:21:51 +00:00
(cherry picked from commit 8eb531d9db
)
This commit is contained in:
parent
9d07aceeda
commit
1936ba93c9
1 changed files with 2 additions and 2 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue