diff options
author | Sebastian Berg <sebastianb@nvidia.com> | 2022-11-18 15:11:25 +0100 |
---|---|---|
committer | Sebastian Berg <sebastianb@nvidia.com> | 2022-11-24 17:03:42 +0100 |
commit | 7c361420b4f81713f593ebbb5c924121c1f2d19d (patch) | |
tree | 4fa5c173c3e4df5dfdb9b14b9b0988db0bc69e91 /numpy/core/_exceptions.py | |
parent | 72af24df557802015820714aaa3d105d53216431 (diff) | |
download | numpy-7c361420b4f81713f593ebbb5c924121c1f2d19d.tar.gz |
MAINT: Move set_module to numpy.core to use without C import
Diffstat (limited to 'numpy/core/_exceptions.py')
-rw-r--r-- | numpy/core/_exceptions.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/numpy/core/_exceptions.py b/numpy/core/_exceptions.py index be3aa8bee..db5dfea02 100644 --- a/numpy/core/_exceptions.py +++ b/numpy/core/_exceptions.py @@ -5,7 +5,7 @@ in python where it's easier. By putting the formatting in `__str__`, we also avoid paying the cost for users who silence the exceptions. """ -from numpy.core.overrides import set_module +from .._utils import set_module def _unpack_tuple(tup): if len(tup) == 1: |