mirror of
https://github.com/pocketpy/pocketpy
synced 2025-10-23 13:00:17 +00:00
Update array2d.pyi
This commit is contained in:
parent
dac441bea1
commit
bdb4171831
@ -15,7 +15,7 @@ class array2d(Generic[T]):
|
||||
|
||||
def is_valid(self, col: int, row: int) -> bool: ...
|
||||
|
||||
def get(self, col: int, row: int, default=None): ...
|
||||
def get(self, col: int, row: int, default=None) -> T | None: ...
|
||||
|
||||
@overload
|
||||
def __getitem__(self, index: tuple[int, int]) -> T: ...
|
||||
|
Loading…
x
Reference in New Issue
Block a user