Print a warning when importing the numpy.array_api submodule
@@ -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
