Update array2d.pyi

This commit is contained in:
blueloveTH 2024-04-28 00:35:16 +08:00
parent dac441bea1
commit bdb4171831

View File

@ -15,7 +15,7 @@ class array2d(Generic[T]):
def is_valid(self, col: int, row: int) -> bool: ... 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 @overload
def __getitem__(self, index: tuple[int, int]) -> T: ... def __getitem__(self, index: tuple[int, int]) -> T: ...