Skip to content

Commit 21eec5c

Browse files
committed
Added release notes for python-pillow#7355
1 parent 96d683d commit 21eec5c

File tree

1 file changed

+9
-3
lines changed

1 file changed

+9
-3
lines changed

docs/releasenotes/10.1.0.rst

+9-3
Original file line numberDiff line numberDiff line change
@@ -24,10 +24,16 @@ TODO
2424
API Changes
2525
===========
2626

27-
TODO
28-
^^^^
27+
Accept a list in getpixel()
28+
^^^^^^^^^^^^^^^^^^^^^^^^^^^
2929

30-
TODO
30+
py:meth:`~PIL.Image.Image.getpixel` now accepts a list of coordinates, as well
31+
as a tuple. ::
32+
33+
from PIL import Image
34+
im = Image.new("RGB", (1, 1))
35+
im.getpixel((0, 0))
36+
im.getpixel([0, 0])
3137

3238
API Additions
3339
=============

0 commit comments

Comments
 (0)