Merge pull request #3401 from Zeusw/patch-1

in python3.x not have StringIO
This commit is contained in:
Cory Benfield
2016-07-14 08:57:49 +01:00
committed by GitHub
+1 -1
View File
@@ -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))