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`:
|
### `and`:
|
||||||
|
|
||||||
>>> True and False # Short-circuited at first argument.
|
>>> True and False # Second argument is evaluated.
|
||||||
False
|
False
|
||||||
>>> False and True # Second argument is evaluated.
|
>>> False and True # Short-circuted at first argument.
|
||||||
False
|
False
|
||||||
>>> True and True # Second argument is evaluated.
|
>>> True and True # Second argument is evaluated.
|
||||||
True
|
True
|
||||||
@ -45,3 +45,6 @@ not x | if x is false, then True, else False | (3)
|
|||||||
False
|
False
|
||||||
>>> not False
|
>>> not False
|
||||||
True
|
True
|
||||||
|
>>> False or False # Second argument is evaluated.
|
||||||
|
False
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user