From cf938420f88d8d534ef8b717b30da724c1e31091 Mon Sep 17 00:00:00 2001 From: Zeusw Date: Thu, 14 Jul 2016 10:40:32 +0800 Subject: [PATCH] in python3.x not have StringIO I think, should such an amendment. --- docs/user/quickstart.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/user/quickstart.rst b/docs/user/quickstart.rst index e48a48a5..3be3489f 100644 --- a/docs/user/quickstart.rst +++ b/docs/user/quickstart.rst @@ -132,7 +132,7 @@ For example, to create an image from binary data returned by a request, you can use the following code:: >>> from PIL import Image - >>> from StringIO import StringIO + >>> from io import StringIO >>> i = Image.open(StringIO(r.content))