Explorar o código

Update array2d.pyi

blueloveTH %!s(int64=2) %!d(string=hai) anos
pai
achega
ca83cdf995
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      include/typings/array2d.pyi

+ 1 - 1
include/typings/array2d.pyi

@@ -85,7 +85,7 @@ class array2d(Generic[T]):
         for i in range(self.numel):
             self.data[i] = f(self.data[i])
 
-    def copy_(self, other: 'array2d[T]' | list['T']) -> None:
+    def copy_(self, other: 'array2d[T] | list[T]') -> None:
         if isinstance(other, list):
             assert len(other) == self.numel
             self.data = other.copy()