From 605c4083e13994164192f8fad66b4bb9f370325e Mon Sep 17 00:00:00 2001 From: Andrew Murray Date: Mon, 14 Oct 2024 22:33:03 +1100 Subject: [PATCH] Added type hint --- src/PIL/ImageFile.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/PIL/ImageFile.py b/src/PIL/ImageFile.py index db31f45b9..ff8995595 100644 --- a/src/PIL/ImageFile.py +++ b/src/PIL/ImageFile.py @@ -124,7 +124,7 @@ class ImageFile(Image.Image): self.readonly = 1 # until we know better - self.mb_config = () + self.mb_config: tuple[int, ...] = () self.decoderconfig: tuple[Any, ...] = () self.decodermaxblock = MAXBLOCK