mirror of
https://github.com/pocketpy/pocketpy
synced 2025-10-20 11:30:18 +00:00
Update array2d.pyi
This commit is contained in:
parent
4f431f4095
commit
9a88fd06f4
@ -18,7 +18,7 @@ class array2d(Generic[T]):
|
|||||||
def get(self, col: int, row: int, default=None): ...
|
def get(self, col: int, row: int, default=None): ...
|
||||||
|
|
||||||
@overload
|
@overload
|
||||||
def __getitem__(self, index: tuple[int, int]): ...
|
def __getitem__(self, index: tuple[int, int]) -> T: ...
|
||||||
@overload
|
@overload
|
||||||
def __getitem__(self, index: tuple[slice, slice]) -> 'array2d[T]': ...
|
def __getitem__(self, index: tuple[slice, slice]) -> 'array2d[T]': ...
|
||||||
@overload
|
@overload
|
||||||
|
Loading…
x
Reference in New Issue
Block a user