Browse Source

Update array2d.pyi

blueloveTH 1 year ago
parent
commit
9a88fd06f4
1 changed files with 1 additions and 1 deletions
  1. 1 1
      include/typings/array2d.pyi

+ 1 - 1
include/typings/array2d.pyi

@@ -18,7 +18,7 @@ class array2d(Generic[T]):
     def get(self, col: int, row: int, default=None): ...
 
     @overload
-    def __getitem__(self, index: tuple[int, int]): ...
+    def __getitem__(self, index: tuple[int, int]) -> T: ...
     @overload
     def __getitem__(self, index: tuple[slice, slice]) -> 'array2d[T]': ...
     @overload