From 454ffe4a01a0fa054cdf588ab59c0655329e5c88 Mon Sep 17 00:00:00 2001 From: Andrew Murray Date: Fri, 12 Jan 2018 20:46:16 +1100 Subject: [PATCH] Changed tutorial code to use docstring [ci skip] --- docs/handbook/tutorial.rst | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/docs/handbook/tutorial.rst b/docs/handbook/tutorial.rst index e822f5a08..52d98f694 100644 --- a/docs/handbook/tutorial.rst +++ b/docs/handbook/tutorial.rst @@ -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