Skip to content

Commit 5fcba3a

Browse files
committed
Add __array_api_version__ to numpy.array_api namespace
Original NumPy Commit: 6579448e6c76b2ad4487903688ac9fe3c02ff39c
1 parent 11db232 commit 5fcba3a

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

array_api_strict/__init__.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -121,7 +121,9 @@
121121
"The array_api_strict submodule is still experimental. See NEP 47.", stacklevel=2
122122
)
123123

124-
__all__ = []
124+
__array_api_version__ = "2021.12"
125+
126+
__all__ = ["__array_api_version__"]
125127

126128
from ._constants import e, inf, nan, pi
127129

0 commit comments

Comments
 (0)