def __eq__(self, other):
if self is other:<EOL><INDENT>return True<EOL><DEDENT>if not isinstance(other, self.__class__):<EOL><INDENT>raise TypeError('<STR_LIT>'<EOL>'<STR_LIT>')<EOL><DEDENT>return self._values == other._values<EOL>
Compares the current instance with another one.