Skip to content
Draft
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion arraycontext/typing.py
Original file line number Diff line number Diff line change
Expand Up @@ -153,7 +153,7 @@ def dtype(self) -> np.dtype[Any]:
# If you'd like to see how, try changing the Any to
# AxisIndex = slice | int | "Array"
# Index = AxisIndex |tuple[AxisIndex]
def __getitem__(self, index: Any) -> Array: # pyright: ignore[reportAny]
def __getitem__(self, /, key: object) -> Array:
...

# Some basic arithmetic that's supposed to work
Expand Down
Loading