From 38df9bef09f407ab0ec75d254d233e7b0287f6d2 Mon Sep 17 00:00:00 2001 From: Andrew Murray Date: Mon, 6 May 2019 08:38:43 +1000 Subject: [PATCH] Added import [ci skip] --- docs/handbook/tutorial.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/handbook/tutorial.rst b/docs/handbook/tutorial.rst index b05972f93..a0868a89c 100644 --- a/docs/handbook/tutorial.rst +++ b/docs/handbook/tutorial.rst @@ -473,8 +473,8 @@ Reading from a string :: + from PIL import Image import StringIO - im = Image.open(StringIO.StringIO(buffer)) Note that the library rewinds the file (using ``seek(0)``) before reading the