Download .venv/Lib/site-packages/numpy/core/shape_base.py from DrDavis/PythonProject1: direct link, hf CLI and curl.
- Browser
- Download file 347 Bytes
-
https://huggingface.co/DrDavis/PythonProject1/resolve/main/.venv/Lib/site-packages/numpy/core/shape_base.py
- Command line
-
hf download hf://DrDavis/PythonProject1/.venv/Lib/site-packages/numpy/core/shape_base.py
-
curl -L -o shape_base.py https://huggingface.co/DrDavis/PythonProject1/resolve/main/.venv/Lib/site-packages/numpy/core/shape_base.py
347 Bytes
| def __getattr__(attr_name): | |
| from numpy._core import shape_base | |
| from ._utils import _raise_warning | |
| ret = getattr(shape_base, attr_name, None) | |
| if ret is None: | |
| raise AttributeError( | |
| f"module 'numpy.core.shape_base' has no attribute {attr_name}") | |
| _raise_warning(attr_name, "shape_base") | |
| return ret | |