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 1013ecb commit 8b0660aCopy full SHA for 8b0660a
arraycontext/context.py
@@ -217,7 +217,7 @@ def dtype(self) -> np.dtype[Any]:
217
# If you'd like to see how, try changing the Any to
218
# AxisIndex = slice | int | "Array"
219
# Index = AxisIndex |tuple[AxisIndex]
220
- def __getitem__(self, index: Any) -> Array:
+ def __getitem__(self, key: Any) -> Array:
221
...
222
223
# some basic arithmetic that's supposed to work
0 commit comments