diff options
Diffstat (limited to 'lib/_range.py')
-rw-r--r-- | lib/_range.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/_range.py b/lib/_range.py index 16b51a5..0f15990 100644 --- a/lib/_range.py +++ b/lib/_range.py @@ -121,7 +121,7 @@ class Range(object): return self._bounds is not None def __eq__(self, other): - if not isinstance(other, self.__class__): + if not isinstance(other, Range): return False return (self._lower == other._lower and self._upper == other._upper |