diff --git a/src/PIL/Image.py b/src/PIL/Image.py index 6bb1a6a4a46..960ba591164 100644 --- a/src/PIL/Image.py +++ b/src/PIL/Image.py @@ -2164,7 +2164,7 @@ def putpalette( def putpixel( self, xy: tuple[int, int] | list[int], - value: float | tuple[int, ...] | list[int], + value: float | tuple[int, ...], ) -> None: """ Modifies the pixel at the given position. The color is given as