diff --git a/src/PIL/Image.py b/src/PIL/Image.py index 6d3ad23ad..66ec7e2ff 100644 --- a/src/PIL/Image.py +++ b/src/PIL/Image.py @@ -1246,7 +1246,7 @@ class Image(object): self.load() if self.mode in ("1", "L", "P"): h = self.im.histogram() - out = [] + out = [] # type: List[Tuple[int, Color]] for i in range(256): if h[i]: out.append((h[i], i))