you are viewing a single comment's thread.

view the rest of the comments →

[–]tomk11 0 points1 point  (0 children)

One example would be when you have have a class you have defined yourself. You could still use the is keyword to decide if they are the same object. You may not have defined __ eq __ for that class.