forked from VimPlug/jedi
Add __ne__ to BaseValueSet. Might have caused issues in Python 2, see #1442
This commit is contained in:
@@ -69,5 +69,8 @@ class BaseValueSet(object):
|
|||||||
def __eq__(self, other):
|
def __eq__(self, other):
|
||||||
return self._set == other._set
|
return self._set == other._set
|
||||||
|
|
||||||
|
def __ne__(self, other):
|
||||||
|
return not self.__eq__(other)
|
||||||
|
|
||||||
def __hash__(self):
|
def __hash__(self):
|
||||||
return hash(self._set)
|
return hash(self._set)
|
||||||
|
|||||||
Reference in New Issue
Block a user