Describe the issue:
The __getitem__ is missing a None in the tuple:
|
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.
Describe the issue:
The
__getitem__is missing aNonein thetuple:numpy/numpy/array_api/_array_object.py
Lines 542 to 548 in 4811db7
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.