Changed tutorial code to use docstring [ci skip]

This commit is contained in:
Andrew Murray 2018-01-12 20:46:16 +11:00
parent d1257a0a38
commit 454ffe4a01

View File

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