From 192e445b6e72ff19407572e4c3b9d4c2d951f1c1 Mon Sep 17 00:00:00 2001 From: Arnie97 Date: Thu, 8 Jan 2015 13:09:45 +0800 Subject: [PATCH] Changes "import Image" to "from PIL import Image". --- docs/reference/ImageMath.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/reference/ImageMath.rst b/docs/reference/ImageMath.rst index e3f9ed8d6..00249a601 100644 --- a/docs/reference/ImageMath.rst +++ b/docs/reference/ImageMath.rst @@ -13,7 +13,7 @@ Example: Using the :py:mod:`~PIL.ImageMath` module .. code-block:: python - import Image, ImageMath + from PIL import Image, ImageMath im1 = Image.open("image1.jpg") im2 = Image.open("image2.jpg")