diff options
author | Sebastian Berg <sebastianb@nvidia.com> | 2022-12-05 18:14:25 +0100 |
---|---|---|
committer | Sebastian Berg <sebastianb@nvidia.com> | 2022-12-06 12:00:21 +0100 |
commit | 928a7b40a40941c0c282cfad78c3a6021422a71c (patch) | |
tree | 09baf0ae86a0f1be479e4a2ba2b088f633bbc942 /numpy/array_api/tests | |
parent | 297c66131f2a32ebb7dfb0aeb9d88d917a791430 (diff) | |
download | numpy-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