From 495606a925a56b5a9b9fe706e85ff5b91aacb94e Mon Sep 17 00:00:00 2001 From: Ben Evans Date: Tue, 23 Dec 2025 21:42:22 +0000 Subject: [PATCH] Add type hint for LOAD_TRUNCATED_IMAGES --- 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 a1d98bd5103..4bac877949a 100644 --- a/src/PIL/ImageFile.py +++ b/src/PIL/ImageFile.py @@ -61,7 +61,7 @@ SAFEBLOCK = 1024 * 1024 -LOAD_TRUNCATED_IMAGES = False +LOAD_TRUNCATED_IMAGES: bool = False """Whether or not to load truncated image files. User code may change this.""" ERRORS = {