Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 066b901

Browse files
committed
MAINT: add newaxis to __all__ in numpy.array_api
Follows up on a post-merge comment in numpygh-25146. [skip ci]
1 parent 9427a59 commit 066b901

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

numpy/array_api/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -127,7 +127,7 @@
127127

128128
from ._constants import e, inf, nan, pi, newaxis
129129

130-
__all__ += ["e", "inf", "nan", "pi"]
130+
__all__ += ["e", "inf", "nan", "pi", "newaxis"]
131131

132132
from ._creation_functions import (
133133
asarray,

0 commit comments

Comments
 (0)