|
|
@@ -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: ...
|