Skip to content

Commit 45188a7

Browse files
committed
-
1 parent 9cb79e7 commit 45188a7

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

source_py2/python_toolbox/combi/perm_space.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ def __call__(cls, *args, **kwargs):
5656

5757

5858
@functools.total_ordering
59-
class PermSpace(sequence_tools.CuteSequenceMixin, collections.Sequence)
59+
class PermSpace(sequence_tools.CuteSequenceMixin, collections.Sequence):
6060
'''
6161
A space of permutations on a sequence.
6262

source_py2/python_toolbox/cute_iter_tools.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -158,7 +158,7 @@ def _enumerate(iterable, reverse_index):
158158
except AttributeError:
159159
iterable = revenifty_collections.LazyTuple(iterable)
160160
length = len(iterable)
161-
return zip(range(length - 1, -1, -1), iterable)
161+
return itertools.izip(range(length - 1, -1, -1), iterable)
162162

163163

164164
def is_iterable(thing):

0 commit comments

Comments
 (0)