Replace index= index +1 with += in ImageSequence Docs

This commit is contained in:
cclauss 2016-06-24 10:31:35 +02:00 committed by wiredfool
parent 8e7f0cb192
commit 319eafbd1c

View File

@ -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
-------------------------------------------------