diff options
| author | Aaron Meurer <asmeurer@gmail.com> | 2021-08-04 16:55:51 -0600 |
|---|---|---|
| committer | Aaron Meurer <asmeurer@gmail.com> | 2021-08-04 16:55:51 -0600 |
| commit | ee852b432371e144456e012ec316c117170a7340 (patch) | |
| tree | c431b974ea5888182cf19b6a053b1b50aa04aa76 /numpy/array_api | |
| parent | 6e57d829cb6628610e163524f203245b247a2839 (diff) | |
| download | numpy-ee852b432371e144456e012ec316c117170a7340.tar.gz | |
Print a warning when importing the numpy.array_api submodule
Diffstat (limited to 'numpy/array_api')
| -rw-r--r-- | numpy/array_api/__init__.py | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/numpy/array_api/__init__.py b/numpy/array_api/__init__.py index 4650e3db8..1e9790a14 100644 --- a/numpy/array_api/__init__.py +++ b/numpy/array_api/__init__.py @@ -115,6 +115,10 @@ Still TODO in this module are: """ +import warnings +warnings.warn("The numpy.array_api submodule is still experimental. See NEP 47.", + stacklevel=2) + __all__ = [] from ._constants import e, inf, nan, pi |
