Skip to content

Commit

Permalink
Correct __eq__
Browse files Browse the repository at this point in the history
  • Loading branch information
r3m0t authored Dec 29, 2020
1 parent 4657ad2 commit c780bf5
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 c780bf5

Please sign in to comment.