diff --git a/lib/_range.py b/lib/_range.py index 19a05d3c..eb242654 100644 --- a/lib/_range.py +++ b/lib/_range.py @@ -143,10 +143,6 @@ class Range: def __bool__(self): return self._bounds is not None - def __nonzero__(self): - # Python 2 compatibility - return type(self).__bool__(self) - def __eq__(self, other): if not isinstance(other, Range): return False