Skip to content

Commit

Permalink
Add __array_api_version__ to numpy.array_api namespace
Browse files Browse the repository at this point in the history
  • Loading branch information
honno authored and charris committed Oct 2, 2022
1 parent 315a050 commit 9f71a68
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion numpy/array_api/__init__.py
Expand Up @@ -121,7 +121,9 @@
"The numpy.array_api submodule is still experimental. See NEP 47.", stacklevel=2
)

__all__ = []
__array_api_version__ = "2021.12"

__all__ = ["__array_api_version__"]

from ._constants import e, inf, nan, pi

Expand Down

0 comments on commit 9f71a68

Please sign in to comment.