summaryrefslogtreecommitdiff
path: root/numpy/array_api/tests/test_indexing_functions.py
diff options
context:
space:
mode:
authorSebastian Berg <sebastian@sipsolutions.net>2020-07-13 10:53:56 -0500
committerSebastian Berg <sebastian@sipsolutions.net>2020-07-13 10:53:56 -0500
commit6e7a43b3f70b1ce9830b17629a066ad1d91736ad (patch)
tree453acdf6bf99bc7c283939140f88bb415a6dfeb6 /numpy/array_api/tests/test_indexing_functions.py
parent41ccadd2b2685cc7dcbba720e6dce246205d65dc (diff)
downloadnumpy-6e7a43b3f70b1ce9830b17629a066ad1d91736ad.tar.gz
DEP: Deprecate NumPy object scalars
NumPy object scalars should not exist, since they should always just return the actual scalar in the first place. Put a deprecation warning in place to be rapidly changed into a TypeError. Once allocating it gives an error, we can make all methods raise errors (with the exception of `__new__`.
Diffstat (limited to 'numpy/array_api/tests/test_indexing_functions.py')
0 files changed, 0 insertions, 0 deletions