Skip to content

Commit

Permalink
Merge pull request #582 from r3m0t/patch-6
Browse files Browse the repository at this point in the history
Correct __eq__
  • Loading branch information
edschofield authored Nov 11, 2021
2 parents 17e4bbd + c780bf5 commit 5e5af71
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/future/types/newrange.py
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ def __eq__(self, other):
return (isinstance(other, newrange) and
(self._len == 0 == other._len or
(self._start, self._step, self._len) ==
(other._start, other._step, self._len)))
(other._start, other._step, other._len)))

def __len__(self):
return self._len
Expand Down

0 comments on commit 5e5af71

Please sign in to comment.