Skip to content

Commit

Permalink
Merge pull request #42 from dwf/equizip
Browse files Browse the repository at this point in the history
Fix numpy array problem.
  • Loading branch information
dwf committed Mar 13, 2015
2 parents 7cc06bf + 62697ea commit 61e5bd8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion picklable_itertools/extras.py
Original file line number Diff line number Diff line change
Expand Up @@ -98,6 +98,6 @@ def __init__(self, *args):

def __next__(self):
next_item = super(equizip, self).__next__()
if NoMoreItems in next_item:
if any(value is NoMoreItems for value in next_item):
raise IterableLengthMismatch
return next_item

0 comments on commit 61e5bd8

Please sign in to comment.