diff --git a/src/PIL/Image.py b/src/PIL/Image.py index 4675c01e3..9696f5d50 100644 --- a/src/PIL/Image.py +++ b/src/PIL/Image.py @@ -1261,7 +1261,7 @@ class Image(object): return self.im.getcolors(maxcolors) def getdata(self, band=None): - # type: (Optional[int]) -> Sequence + # type: (Optional[int]) -> ImagingCore """ Returns the contents of this image as a sequence object containing pixel values. The sequence object is flattened, so