Skip to content

Commit

Permalink
Merge pull request #22368 from charris/backport-22365
Browse files Browse the repository at this point in the history
BUG: Add ``__array_api_version__`` to ``numpy.array_api`` namespace
  • Loading branch information
charris committed Oct 2, 2022
2 parents 315a050 + 9f71a68 commit dbbf06a
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 dbbf06a

Please sign in to comment.