This commit is contained in:
blueloveTH 2024-11-27 13:53:15 +08:00
parent 9ff48c7dba
commit d3bc8a53ad

View File

@ -15,7 +15,7 @@ class array2d[T]:
@property
def numel(self) -> int: ...
def __new__(cls, n_cols: int, n_rows: int, default: Callable[[vec2i], T] = None): ...
def __new__(cls, n_cols: int, n_rows: int, default: T | Callable[[vec2i], T] | None = None): ...
def __eq__(self, other: object) -> array2d[bool]: ... # type: ignore
def __ne__(self, other: object) -> array2d[bool]: ... # type: ignore
def __repr__(self) -> str: ...