Open hristog opened 2 years ago
This PR proposes more Pythonic comparisons between boolean values, in the cases where we know and expect the corresponding data types to be booleans (e.g., 0 is False is False, but 0 == False is True).
0 is False
False
0 == False
True
This PR proposes more Pythonic comparisons between boolean values, in the cases where we know and expect the corresponding data types to be booleans (e.g.,
0 is False
isFalse
, but0 == False
isTrue
).