Skip to content

Commit 495606a

Browse files
committed
Add type hint for LOAD_TRUNCATED_IMAGES
1 parent ca21683 commit 495606a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/PIL/ImageFile.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@
6161

6262
SAFEBLOCK = 1024 * 1024
6363

64-
LOAD_TRUNCATED_IMAGES = False
64+
LOAD_TRUNCATED_IMAGES: bool = False
6565
"""Whether or not to load truncated image files. User code may change this."""
6666

6767
ERRORS = {

0 commit comments

Comments
 (0)