diff --git a/stubs/Pillow/PIL/Image.pyi b/stubs/Pillow/PIL/Image.pyi index 6375cc30c..6f8ac1d40 100644 --- a/stubs/Pillow/PIL/Image.pyi +++ b/stubs/Pillow/PIL/Image.pyi @@ -120,7 +120,7 @@ class Image: def __exit__(self, *args: Any) -> None: ... def close(self) -> None: ... def __eq__(self, other: object) -> bool: ... - def __array__(self) -> Any: ... # returns numpy.array() + def __array__(self, dtype=...) -> Any: ... # returns numpy.array() def __getstate__(self) -> _ImageState: ... def __setstate__(self, state: _ImageState) -> None: ... def tobytes(self, encoder_name: str = ..., *args) -> bytes: ...