Przeglądaj źródła

Update array2d.pyi

Update array2d.pyi
blueloveTH 1 rok temu
rodzic
commit
2f2602f3ff
1 zmienionych plików z 12 dodań i 12 usunięć
  1. 12 12
      include/typings/array2d.pyi

+ 12 - 12
include/typings/array2d.pyi

@@ -46,18 +46,18 @@ class array2d_like[T]:
     def __eq__(self, other: T | array2d_like[T]) -> array2d[bool]: ...  # type: ignore
     def __ne__(self, other: T | array2d_like[T]) -> array2d[bool]: ...  # type: ignore
 
-    def __add__(self, other: T | array2d_like[T]) -> array2d: ...
-    def __sub__(self, other: T | array2d_like[T]) -> array2d: ...
-    def __mul__(self, other: T | array2d_like[T]) -> array2d: ...
-    def __truediv__(self, other: T | array2d_like[T]) -> array2d: ...
-    def __floordiv__(self, other: T | array2d_like[T]) -> array2d: ...
-    def __mod__(self, other: T | array2d_like[T]) -> array2d: ...
-    def __pow__(self, other: T | array2d_like[T]) -> array2d: ...
-
-    def __and__(self, other: T | array2d_like[T]) -> array2d: ...
-    def __or__(self, other: T | array2d_like[T]) -> array2d: ...
-    def __xor__(self, other: T | array2d_like[T]) -> array2d: ...
-    def __invert__(self) -> array2d: ...
+    def __add__(self, other: T | array2d_like[T]) -> array2d[T]: ...
+    def __sub__(self, other: T | array2d_like[T]) -> array2d[T]: ...
+    def __mul__(self, other: T | array2d_like[T]) -> array2d[T]: ...
+    def __truediv__(self, other: T | array2d_like[T]) -> array2d[T]: ...
+    def __floordiv__(self, other: T | array2d_like[T]) -> array2d[T]: ...
+    def __mod__(self, other: T | array2d_like[T]) -> array2d[T]: ...
+    def __pow__(self, other: T | array2d_like[T]) -> array2d[T]: ...
+
+    def __and__(self, other: T | array2d_like[T]) -> array2d[T]: ...
+    def __or__(self, other: T | array2d_like[T]) -> array2d[T]: ...
+    def __xor__(self, other: T | array2d_like[T]) -> array2d[T]: ...
+    def __invert__(self) -> array2d[T]: ...
 
     def __iter__(self) -> Iterator[tuple[vec2i, T]]: ...
     def __repr__(self) -> str: ...