Update array2d.pyi

This commit is contained in:
blueloveTH 2024-04-27 21:24:07 +08:00
parent 4f431f4095
commit 9a88fd06f4

View File

@ -18,7 +18,7 @@ class array2d(Generic[T]):
def get(self, col: int, row: int, default=None): ...
@overload
def __getitem__(self, index: tuple[int, int]): ...
def __getitem__(self, index: tuple[int, int]) -> T: ...
@overload
def __getitem__(self, index: tuple[slice, slice]) -> 'array2d[T]': ...
@overload