mirror of
https://github.com/python-pillow/Pillow.git
synced 2024-12-25 17:36:18 +03:00
Replace index= index +1 with += in ImageSequence Docs
This commit is contained in:
parent
8e7f0cb192
commit
319eafbd1c
|
@ -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
|
||||
-------------------------------------------------
|
||||
|
|
Loading…
Reference in New Issue
Block a user