summaryrefslogtreecommitdiff
path: root/numpy/exceptions.py
diff options
context:
space:
mode:
authorSebastian Berg <sebastianb@nvidia.com>2022-11-22 12:51:32 +0100
committerSebastian Berg <sebastianb@nvidia.com>2022-11-30 12:07:51 +0100
commit86029d0188e371d70b90d224c3f0061997f86fc5 (patch)
treeae2ba735d008936d82aa6cf31b005609240138f9 /numpy/exceptions.py
parent1d31511ce8081f03ac507854c94cf4793a5982e3 (diff)
downloadnumpy-86029d0188e371d70b90d224c3f0061997f86fc5.tar.gz
TYP: Modify typing stubs for new `np.exceptions` module
Diffstat (limited to 'numpy/exceptions.py')
-rw-r--r--numpy/exceptions.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/numpy/exceptions.py b/numpy/exceptions.py
index 6af5d52a1..8c393d5e2 100644
--- a/numpy/exceptions.py
+++ b/numpy/exceptions.py
@@ -15,6 +15,7 @@ _is_loaded = True
# TODO: One day, we should remove the _set_module here before removing them
# fully. Not doing it now, just to allow unpickling to work on older
# versions for a bit. (Module exists since NumPy 1.25.)
+# This then also means that the typing stubs should be moved!
@_set_module('numpy')