in python3.x not have StringIO

I think, should such an amendment.
This commit is contained in:
Zeusw
2016-07-14 10:40:32 +08:00
committed by GitHub
parent 425962cb13
commit cf938420f8
+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))