Skip to content

Commit 7c84290

Browse files
committed
Correct __getitem__ return type
1 parent 5122c83 commit 7c84290

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/PIL/_imaging.pyi

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
from typing import Any
22

33
class ImagingCore:
4-
def __getitem__(self, index: int) -> float: ...
4+
def __getitem__(self, index: int) -> float | tuple[int, ...] | None: ...
55
def __getattr__(self, name: str) -> Any: ...
66

77
class ImagingFont:

0 commit comments

Comments
 (0)