From 59c5b51c0da42603252b48da0fa44f41671b012b Mon Sep 17 00:00:00 2001 From: Dave Halter Date: Sat, 30 Nov 2019 10:01:09 +0100 Subject: [PATCH] Add __ne__ to BaseValueSet. Might have caused issues in Python 2, see #1442 --- jedi/common/value.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/jedi/common/value.py b/jedi/common/value.py index 3a0e1fc8..815966b1 100644 --- a/jedi/common/value.py +++ b/jedi/common/value.py @@ -69,5 +69,8 @@ class BaseValueSet(object): def __eq__(self, other): return self._set == other._set + def __ne__(self, other): + return not self.__eq__(other) + def __hash__(self): return hash(self._set)