From 05ee9ab31c8d680ed5883d1ad0c8f1e009872d15 Mon Sep 17 00:00:00 2001 From: nulano Date: Wed, 12 Aug 2020 22:24:25 +0100 Subject: [PATCH] improve wording, fix lint Co-authored-by: Andrew Murray <3112309+radarhere@users.noreply.github.com> --- 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 2a2ae7486..81ec0c266 100644 --- a/src/PIL/ImageFile.py +++ b/src/PIL/ImageFile.py @@ -40,7 +40,7 @@ MAXBLOCK = 65536 SAFEBLOCK = 1024 * 1024 LOAD_TRUNCATED_IMAGES = False -"""Whether loading of truncated image files is currently enabled. User code may change this.""" +"""Whether or not to load truncated image files. User code may change this.""" ERRORS = { -1: "image buffer overrun error",