Wrongly mentioned, so interchanged the comments (#24370)
This commit is contained in:
committed by
Manish Giri
parent
becdf54e98
commit
a6ab0714e4
@ -32,9 +32,9 @@ not x | if x is false, then True, else False | (3)
|
||||
|
||||
### `and`:
|
||||
|
||||
>>> True and False # Short-circuited at first argument.
|
||||
>>> True and False # Second argument is evaluated.
|
||||
False
|
||||
>>> False and True # Second argument is evaluated.
|
||||
>>> False and True # Short-circuted at first argument.
|
||||
False
|
||||
>>> True and True # Second argument is evaluated.
|
||||
True
|
||||
@ -45,3 +45,6 @@ not x | if x is false, then True, else False | (3)
|
||||
False
|
||||
>>> not False
|
||||
True
|
||||
>>> False or False # Second argument is evaluated.
|
||||
False
|
||||
|
||||
|
Reference in New Issue
Block a user