How do I achieve the effect of the === operator in Python?
===
For example, I don\'t want False == 0 to be True.
False == 0
True
You can use the is operator to check for object identity. False is 0 will return False then.
is
False is 0
False