summaryrefslogtreecommitdiff
path: root/numpy/array_api/tests
diff options
context:
space:
mode:
authorSebastian Berg <sebastianb@nvidia.com>2022-12-05 18:14:25 +0100
committerSebastian Berg <sebastianb@nvidia.com>2022-12-06 12:00:21 +0100
commit928a7b40a40941c0c282cfad78c3a6021422a71c (patch)
tree09baf0ae86a0f1be479e4a2ba2b088f633bbc942 /numpy/array_api/tests
parent297c66131f2a32ebb7dfb0aeb9d88d917a791430 (diff)
downloadnumpy-928a7b40a40941c0c282cfad78c3a6021422a71c.tar.gz
API: Hide exceptions from the main namespace
I wasn't sure if we should already start deprecating the exceptions so opted to follow up with only hiding them from `__dir__()` but still having them in `__all__` and available. This also changes their module to `numpy.exceptions`, which matters because that is how they will be pickled (it would not be possible to unpickle such an exception in an older NumPy version). Due to pickling, we could put off changing the module.
Diffstat (limited to 'numpy/array_api/tests')
0 files changed, 0 insertions, 0 deletions