From 2f2602f3ff34c07ae9b40482204dd9194d1f4446 Mon Sep 17 00:00:00 2001 From: blueloveTH Date: Tue, 18 Feb 2025 17:56:00 +0800 Subject: [PATCH] Update array2d.pyi Update array2d.pyi --- include/typings/array2d.pyi | 22 +++++++++++----------- 1 file changed, 11 insertions(+), 11 deletions(-) diff --git a/include/typings/array2d.pyi b/include/typings/array2d.pyi index 1ed417c7..a04731c6 100644 --- a/include/typings/array2d.pyi +++ b/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 __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: ... - def __or__(self, other: T | array2d_like[T]) -> array2d: ... - def __xor__(self, other: T | array2d_like[T]) -> array2d: ... - def __invert__(self) -> array2d: ... + 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: ...