-
-
Notifications
You must be signed in to change notification settings - Fork 12k
Closed
Description
Describe the issue:
The __getitem__ is missing a None in the tuple:
numpy/numpy/array_api/_array_object.py
Lines 542 to 548 in 4811db7
| def __getitem__( | |
| self: Array, | |
| key: Union[ | |
| int, slice, ellipsis, Tuple[Union[int, slice, ellipsis], ...], Array | |
| ], | |
| /, | |
| ) -> Array: |
Probably should look like:
https://github.com/data-apis/array-api/blob/e2b373dd497a1e49b43529e66d1196e504c673cd/src/array_api_stubs/_draft/array_object.py#L502-L506
References:
https://data-apis.org/array-api/latest/API_specification/generated/array_api.array.__getitem__.html
https://data-apis.org/array-api/latest/API_specification/indexing.html
Runtime information:
Seen in main.