summaryrefslogtreecommitdiff
path: root/.venv/lib/python3.12/site-packages/numpy/core/numeric.py
diff options
context:
space:
mode:
Diffstat (limited to '.venv/lib/python3.12/site-packages/numpy/core/numeric.py')
-rw-r--r--.venv/lib/python3.12/site-packages/numpy/core/numeric.py12
1 files changed, 12 insertions, 0 deletions
diff --git a/.venv/lib/python3.12/site-packages/numpy/core/numeric.py b/.venv/lib/python3.12/site-packages/numpy/core/numeric.py
new file mode 100644
index 0000000..ddd70b3
--- /dev/null
+++ b/.venv/lib/python3.12/site-packages/numpy/core/numeric.py
@@ -0,0 +1,12 @@
+def __getattr__(attr_name):
+ from numpy._core import numeric
+
+ from ._utils import _raise_warning
+
+ sentinel = object()
+ ret = getattr(numeric, attr_name, sentinel)
+ if ret is sentinel:
+ raise AttributeError(
+ f"module 'numpy.core.numeric' has no attribute {attr_name}")
+ _raise_warning(attr_name, "numeric")
+ return ret