In Python 3, 'next' is renamed to '__next__'

This commit is contained in:
Hugo 2019-11-03 16:02:08 +02:00
parent 6f88d8dd6b
commit 58e6d127b7

View File

@ -52,9 +52,6 @@ class Iterator:
except EOFError:
raise StopIteration
def next(self):
return self.__next__()
def all_frames(im, func=None):
"""