mirror of
https://github.com/python-pillow/Pillow.git
synced 2025-01-13 10:46:16 +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
|
index = 1
|
||||||
for frame in ImageSequence.Iterator(im):
|
for frame in ImageSequence.Iterator(im):
|
||||||
frame.save("frame%d.png" % index)
|
frame.save("frame%d.png" % index)
|
||||||
index = index + 1
|
index += 1
|
||||||
|
|
||||||
The :py:class:`~PIL.ImageSequence.Iterator` class
|
The :py:class:`~PIL.ImageSequence.Iterator` class
|
||||||
-------------------------------------------------
|
-------------------------------------------------
|
||||||
|
|
Loading…
Reference in New Issue
Block a user