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