You can use is to check if two objects have the same identity.
is
>>> x = [1, 2, 3]>>> y = [1, 2, 3]>>> x == yTrue>>> x is yFalse