mirror of
https://github.com/pocketpy/pocketpy
synced 2025-10-19 19:10:17 +00:00
Update array2d.pyi
This commit is contained in:
parent
7d6b911a30
commit
9d19485bc5
@ -102,8 +102,8 @@ class array2d[T](array2d_like[T]):
|
||||
|
||||
|
||||
class chunked_array2d[T, TContext]:
|
||||
def __init__(
|
||||
self,
|
||||
def __new__(
|
||||
cls,
|
||||
chunk_size: int,
|
||||
default: T = None,
|
||||
context_builder: Callable[[vec2i], TContext] | None = None,
|
||||
@ -116,6 +116,7 @@ class chunked_array2d[T, TContext]:
|
||||
def __setitem__(self, index: vec2i, value: T): ...
|
||||
def __delitem__(self, index: vec2i): ...
|
||||
def __iter__(self) -> Iterator[tuple[vec2i, TContext]]: ...
|
||||
def __len__(self) -> int: ...
|
||||
|
||||
def clear(self) -> None: ...
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user