Fix minor typo

This commit is contained in:
Steve Johnson 2013-10-06 20:36:31 -07:00
parent 5830393903
commit f75f83beb0

View File

@ -15,8 +15,8 @@ in the :py:mod:`~PIL.Image` module::
>>> from PIL import Image >>> from PIL import Image
>>> im = Image.open("lena.ppm") >>> im = Image.open("lena.ppm")
If successful, this function returns an :py:class:`PIL.Image.Image` object. You If successful, this function returns an :py:class:`~PIL.Image.Image` object.
can now use instance attributes to examine the file contents:: You can now use instance attributes to examine the file contents::
>>> print im.format, im.size, im.mode >>> print im.format, im.size, im.mode
PPM (512, 512) RGB PPM (512, 512) RGB