diff --git a/docs/reference/Image.rst b/docs/reference/Image.rst index 1df9f10fd..c8bee1fb5 100644 --- a/docs/reference/Image.rst +++ b/docs/reference/Image.rst @@ -10,7 +10,8 @@ functions, including functions to load images from files, and to create new images. To assist with type hints, ``ImageType`` has been added a simpler way to refer -to the class within the module. :: +to the class within the module. In the following example, the two type +annotations are equivalent:: from PIL import Image, ImageType im1: Image.Image = Image.new("RGB", (1, 1))