Download .venv/Lib/site-packages/numpy/compat/__init__.py from DrDavis/PythonProject1: direct link, hf CLI and curl.
- Browser
- Download file 756 Bytes
-
https://huggingface.co/DrDavis/PythonProject1/resolve/main/.venv/Lib/site-packages/numpy/compat/__init__.py
- Command line
-
hf download hf://DrDavis/PythonProject1/.venv/Lib/site-packages/numpy/compat/__init__.py
-
curl -L -o __init__.py https://huggingface.co/DrDavis/PythonProject1/resolve/main/.venv/Lib/site-packages/numpy/compat/__init__.py
756 Bytes
| """ | |
| Compatibility module. | |
| This module contains duplicated code from Python itself or 3rd party | |
| extensions, which may be included for the following reasons: | |
| * compatibility | |
| * we may only need a small subset of the copied library/module | |
| This module is deprecated since 1.26.0 and will be removed in future versions. | |
| """ | |
| import warnings | |
| from .._utils import _inspect | |
| from .._utils._inspect import getargspec, formatargspec | |
| from . import py3k | |
| from .py3k import * | |
| warnings.warn( | |
| "`np.compat`, which was used during the Python 2 to 3 transition," | |
| " is deprecated since 1.26.0, and will be removed", | |
| DeprecationWarning, stacklevel=2 | |
| ) | |
| __all__ = [] | |
| __all__.extend(_inspect.__all__) | |
| __all__.extend(py3k.__all__) | |