Merge pull request #2953 from radarhere/docstring

Changed tutorial code to use docstring
This commit is contained in:
Hugo 2018-01-12 12:50:33 +02:00 committed by GitHub
commit b9ea73738e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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