diff options
author | Sebastian Berg <sebastian@sipsolutions.net> | 2020-07-13 10:53:56 -0500 |
---|---|---|
committer | Sebastian Berg <sebastian@sipsolutions.net> | 2020-07-13 10:53:56 -0500 |
commit | 6e7a43b3f70b1ce9830b17629a066ad1d91736ad (patch) | |
tree | 453acdf6bf99bc7c283939140f88bb415a6dfeb6 /numpy/array_api/tests/test_indexing_functions.py | |
parent | 41ccadd2b2685cc7dcbba720e6dce246205d65dc (diff) | |
download | numpy-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