Procházet zdrojové kódy

Update array2d.pyi

blueloveTH před 2 roky
rodič
revize
bdb4171831
1 změnil soubory, kde provedl 1 přidání a 1 odebrání
  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 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: ...