From 4f23edae64c3c59dd9fe9afc3f8b41a6c6ff4e5c Mon Sep 17 00:00:00 2001 From: Andrew Murray Date: Wed, 16 Sep 2026 14:14:28 +1000 Subject: [PATCH] Replace "could" with "should" --- src/PIL/ImageFilter.py | 2 +- src/libImaging/ColorLUT.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/PIL/ImageFilter.py b/src/PIL/ImageFilter.py index 9fc66a232fa..2a2499caef8 100644 --- a/src/PIL/ImageFilter.py +++ b/src/PIL/ImageFilter.py @@ -377,7 +377,7 @@ class Color3DLUT(MultibandFilter): tuples with floats. Channels are changed first, then first dimension, then second, then third. Value 0.0 corresponds lowest value of output, 1.0 highest. - :param channels: Number of channels in the table. Could be 3 or 4. + :param channels: Number of channels in the table. Should be 3 or 4. Default is 3. :param target_mode: A mode for the result image. Should have not less than ``channels`` channels. Default is ``None``, diff --git a/src/libImaging/ColorLUT.c b/src/libImaging/ColorLUT.c index 5559de689b2..543efaaf4ba 100644 --- a/src/libImaging/ColorLUT.c +++ b/src/libImaging/ColorLUT.c @@ -83,7 +83,7 @@ ImagingColorLUT3D_linear( ImagingSectionCookie cookie; if (table_channels < 3 || table_channels > 4) { - PyErr_SetString(PyExc_ValueError, "table_channels could be 3 or 4"); + PyErr_SetString(PyExc_ValueError, "table_channels should be 3 or 4"); return NULL; }