From 319eafbd1c9546dbf36c79ca69097cb879ed0e8e Mon Sep 17 00:00:00 2001 From: cclauss Date: Fri, 24 Jun 2016 10:31:35 +0200 Subject: [PATCH] Replace index= index +1 with += in ImageSequence Docs --- docs/reference/ImageSequence.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/reference/ImageSequence.rst b/docs/reference/ImageSequence.rst index 85539cb9e..f8ea9ee92 100644 --- a/docs/reference/ImageSequence.rst +++ b/docs/reference/ImageSequence.rst @@ -19,7 +19,7 @@ Extracting frames from an animation index = 1 for frame in ImageSequence.Iterator(im): frame.save("frame%d.png" % index) - index = index + 1 + index += 1 The :py:class:`~PIL.ImageSequence.Iterator` class -------------------------------------------------