by cjhopman · 6y ago · 0 comments
Or read the very first part of the linked page that shows:
>>> (True == False) is False
True
>>> True == (False is False)
TrueYou'd be correct to use 'is' to mean 'is', and '==' to mean '==', following their definitions.
Other than that, just don't use `is`.