We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 885f35d commit 53e1eb5Copy full SHA for 53e1eb5
src/array_api_extra/_lib/_utils/_typing.pyi
@@ -67,7 +67,7 @@ class Array(Protocol): # pylint: disable=missing-class-docstring
67
def size(self) -> int | None: ...
68
@property
69
def T(self) -> Array: ... # pylint: disable=invalid-name
70
- # Collection operations (note: an Array does not have to be Sized)
+ # Collection operations (note: an Array does not have to be Sized or Iterable)
71
def __getitem__(self, key: GetIndex, /) -> Array: ...
72
def __setitem__(self, key: SetIndex, value: Array | complex, /) -> None: ...
73
# Materialization methods (may raise on lazy arrays)
0 commit comments