mirror of
https://github.com/python-pillow/Pillow.git
synced 2025-03-03 11:35:52 +03:00
Changed tutorial code to use docstring [ci skip]
This commit is contained in:
parent
d1257a0a38
commit
454ffe4a01
|
@ -175,8 +175,7 @@ Rolling an image
|
|||
::
|
||||
|
||||
def roll(image, delta):
|
||||
"Roll an image sideways"
|
||||
|
||||
"""Roll an image sideways."""
|
||||
xsize, ysize = image.size
|
||||
|
||||
delta = delta % xsize
|
||||
|
|
Loading…
Reference in New Issue
Block a user