Skip to content

Commit bf4bf8d

Browse files
committed
-
1 parent 0c043d3 commit bf4bf8d

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

source_py3/python_toolbox/cute_iter_tools.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -398,8 +398,8 @@ def are_equal(*sequences):
398398

399399
if not sys_tools.is_pypy: # Hack around Pypy bug 1799
400400
# Trying cheap comparison:
401-
if len(sequence_types) == 1 and issubclass(cute_iter_tools.
402-
get_single_if_any(sequence_types), collections.Sequence):
401+
if len(sequence_types) == 1 and issubclass(
402+
get_single_if_any(sequence_types), collections.Sequence):
403403

404404
return logic_tools.all_equal(sequences)
405405
# blocktodo: test on pypy and hopefully remove these two lines if not needed

source_py3/python_toolbox/sequence_tools/cute_range.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -125,7 +125,7 @@ def __init__(self, *args):
125125
self.start, self.stop, self.step = parse_range_args(*args)
126126

127127
_reduced = property(lambda self: (type(self), (self.start, self.stop,
128-
self.end)))
128+
self.step)))
129129

130130
__eq__ = lambda self, other: (isinstance(other, CuteRange) and
131131
(self._reduced == other._reduced))

0 commit comments

Comments
 (0)