summaryrefslogtreecommitdiff
path: root/numpy/array_api/_indexing_functions.py
diff options
context:
space:
mode:
authorSebastian Berg <sebastianb@nvidia.com>2023-01-16 11:35:32 +0100
committerSebastian Berg <sebastianb@nvidia.com>2023-01-17 22:22:42 +0100
commitff78e59f5a4ff5b4c5fbf58228a6be8dab9480a8 (patch)
treea44875eed3db71d6aa146ed1d0466356094e2661 /numpy/array_api/_indexing_functions.py
parent2303556949b96c4220ed86fa4554f6a87dec3842 (diff)
downloadnumpy-ff78e59f5a4ff5b4c5fbf58228a6be8dab9480a8.tar.gz
DEP: Finalize the non-sequence stacking deprecation
The `__array_function__` API currently will exhaust iterators so we cannot accept sequences reasonably. Checking for `__getitem__` is presumably enough to reject that (and was what the deprecation used). Future changes could allow this again, although it is not a useful API anyway, since we have to materialize the iterable in any case.
Diffstat (limited to 'numpy/array_api/_indexing_functions.py')
0 files changed, 0 insertions, 0 deletions