From 58e6d127b7631fcbab6e42263482b229c7316e35 Mon Sep 17 00:00:00 2001 From: Hugo Date: Sun, 3 Nov 2019 16:02:08 +0200 Subject: [PATCH] In Python 3, 'next' is renamed to '__next__' --- src/PIL/ImageSequence.py | 3 --- 1 file changed, 3 deletions(-) diff --git a/src/PIL/ImageSequence.py b/src/PIL/ImageSequence.py index 28a54c7b0..4e9f5c210 100644 --- a/src/PIL/ImageSequence.py +++ b/src/PIL/ImageSequence.py @@ -52,9 +52,6 @@ class Iterator: except EOFError: raise StopIteration - def next(self): - return self.__next__() - def all_frames(im, func=None): """