Explorar o código

Update array2d.pyi

blueloveTH hai 1 ano
pai
achega
bdb4171831
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      include/typings/array2d.pyi

+ 1 - 1
include/typings/array2d.pyi

@@ -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: ...