From 0248e418008673f36bfdc2f4e830a4214ddf1bca Mon Sep 17 00:00:00 2001 From: Andrew Murray Date: Mon, 25 Mar 2024 10:02:19 +1100 Subject: [PATCH] Added release notes for #7891 --- docs/releasenotes/10.3.0.rst | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/docs/releasenotes/10.3.0.rst b/docs/releasenotes/10.3.0.rst index b5dbf16d4..29ff6ffb7 100644 --- a/docs/releasenotes/10.3.0.rst +++ b/docs/releasenotes/10.3.0.rst @@ -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 =============