From 2c43162728e60115f8e15fc5ab71be846c649416 Mon Sep 17 00:00:00 2001 From: pa-tna <60775940+pa-tna@users.noreply.github.com> Date: Mon, 12 Feb 2024 13:07:03 +0000 Subject: [PATCH] Pillow: Allow float(s) for cutoff param of autocontrast (#11409) --- stubs/Pillow/PIL/ImageOps.pyi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/stubs/Pillow/PIL/ImageOps.pyi b/stubs/Pillow/PIL/ImageOps.pyi index 007df5eb0..f51f1e888 100644 --- a/stubs/Pillow/PIL/ImageOps.pyi +++ b/stubs/Pillow/PIL/ImageOps.pyi @@ -13,7 +13,7 @@ class _Deformer(Protocol): def autocontrast( image: Image, - cutoff: int | tuple[int, int] = 0, + cutoff: float | tuple[float, float] = 0, ignore: int | None = None, mask: Image | None = None, preserve_tone: bool = False,