From e01354a2c85c9cdb4ce5dc8a6ad3cd1c6087f16f Mon Sep 17 00:00:00 2001 From: Andreas Florath Date: Fri, 1 Dec 2023 16:19:39 +0100 Subject: [PATCH] Added space before colon Signed-off-by: Andreas Florath --- src/PIL/ImageStat.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/PIL/ImageStat.py b/src/PIL/ImageStat.py index 8d7dd8615..c0f647024 100644 --- a/src/PIL/ImageStat.py +++ b/src/PIL/ImageStat.py @@ -67,7 +67,7 @@ class Stat: def _getcount(self): """Get total number of pixels in each layer""" - return [sum(self.h[i: i + 256]) for i in range(0, len(self.h), 256)] + return [sum(self.h[i : i + 256]) for i in range(0, len(self.h), 256)] def _getsum(self): """Get sum of all pixels in each layer"""