From ca83cdf99540e71a8b656f45ffe4558305c279dc Mon Sep 17 00:00:00 2001 From: blueloveTH Date: Wed, 7 Feb 2024 20:14:32 +0800 Subject: [PATCH] Update array2d.pyi --- include/typings/array2d.pyi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/typings/array2d.pyi b/include/typings/array2d.pyi index 952a7470..4818b1f4 100644 --- a/include/typings/array2d.pyi +++ b/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()