diff --git a/PIL/Image.py b/PIL/Image.py index 5abdad1e1..464437fed 100644 --- a/PIL/Image.py +++ b/PIL/Image.py @@ -1135,8 +1135,8 @@ class Image(object): return im.crop((x0, y0, x1, y1)) def draft(self, mode, size): - # type: (Any, Any) -> Any - # TODO unclear types + # type: (Mode, Size) -> Any + # TODO: return type clarification """ Configures the image file loader so it returns a version of the image that as closely as possible matches the given mode and