mirror of
https://github.com/python-pillow/Pillow.git
synced 2025-02-26 16:50:33 +03:00
Merge pull request #2824 from hasahmed/patch-2
Corrected PixelAccess.rst documentation
This commit is contained in:
commit
6932b5a4ec
|
@ -42,7 +42,7 @@ Results in the following::
|
||||||
multi-band images
|
multi-band images
|
||||||
|
|
||||||
:param xy: The pixel coordinate, given as (x, y).
|
:param xy: The pixel coordinate, given as (x, y).
|
||||||
:param value: The pixel value.
|
:param color: The pixel value according to its mode. e.g. tuple (r, g, b) for RGB mode)
|
||||||
|
|
||||||
.. method:: __getitem__(self, xy):
|
.. method:: __getitem__(self, xy):
|
||||||
|
|
||||||
|
@ -61,7 +61,7 @@ Results in the following::
|
||||||
multi-band images
|
multi-band images
|
||||||
|
|
||||||
:param xy: The pixel coordinate, given as (x, y).
|
:param xy: The pixel coordinate, given as (x, y).
|
||||||
:param value: The pixel value.
|
:param color: The pixel value according to its mode. e.g. tuple (r, g, b) for RGB mode)
|
||||||
|
|
||||||
.. method:: getpixel(self, xy):
|
.. method:: getpixel(self, xy):
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user