mirror of
https://github.com/python-pillow/Pillow.git
synced 2024-12-24 17:06:16 +03:00
Changes "import Image" to "from PIL import Image".
This commit is contained in:
parent
ede3e81877
commit
192e445b6e
|
@ -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")
|
||||
|
|
Loading…
Reference in New Issue
Block a user