Added release notes for #7891

This commit is contained in:
Andrew Murray 2024-03-25 10:02:19 +11:00
parent 19cd94bdb3
commit 0248e41800

View File

@ -61,10 +61,11 @@ Deprecated Use instead
API Changes
===========
TODO
^^^^
Negative kmeans error
^^^^^^^^^^^^^^^^^^^^^
TODO
When calling :py:meth:`~PIL.Image.Image.quantize`, a negative ``kmeans`` will now
raise a :py:exc:`ValueError`, unless a palette is supplied to make the value redundant.
API Additions
=============