Corrected reference to method

This commit is contained in:
Andrew Murray 2018-02-14 20:09:00 +11:00
parent 5fa7791777
commit fc3c4c0119
2 changed files with 2 additions and 2 deletions

View File

@ -6,7 +6,7 @@
The :py:mod:`ImageColor` module contains color tables and converters from
CSS3-style color specifiers to RGB tuples. This module is used by
:py:meth:`PIL.Image.Image.new` and the :py:mod:`~PIL.ImageDraw` module, among
:py:meth:`PIL.Image.new` and the :py:mod:`~PIL.ImageDraw` module, among
others.
.. _color-names:

View File

@ -44,7 +44,7 @@ Colors
^^^^^^
To specify colors, you can use numbers or tuples just as you would use with
:py:meth:`PIL.Image.Image.new` or :py:meth:`PIL.Image.Image.putpixel`. For “1”,
:py:meth:`PIL.Image.new` or :py:meth:`PIL.Image.Image.putpixel`. For “1”,
“L”, and “I” images, use integers. For “RGB” images, use a 3-tuple containing
integer values. For “F” images, use integer or floating point values.