Skip to content

Commit fdf0736

Browse files
AkuliJelleZijlstra
andauthored
maybe fix stubtest (#5746)
Co-authored-by: Jelle Zijlstra <[email protected]>
1 parent a744663 commit fdf0736

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

stubs/Pillow/PIL/Image.pyi

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -120,7 +120,7 @@ class Image:
120120
def __exit__(self, *args: Any) -> None: ...
121121
def close(self) -> None: ...
122122
def __eq__(self, other: object) -> bool: ...
123-
def __array__(self) -> Any: ... # returns numpy.array()
123+
def __array__(self, dtype=...) -> Any: ... # returns numpy.array()
124124
def __getstate__(self) -> _ImageState: ...
125125
def __setstate__(self, state: _ImageState) -> None: ...
126126
def tobytes(self, encoder_name: str = ..., *args) -> bytes: ...

0 commit comments

Comments
 (0)