Skip to content

Commit

Permalink
Merge pull request #25620 from charris/backport-25615
Browse files Browse the repository at this point in the history
MAINT: add ``newaxis`` to ``__all__`` in ``numpy.array_api``
  • Loading branch information
charris committed Jan 18, 2024
2 parents aeb63c8 + a1c69ef commit f03488c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion numpy/array_api/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,7 @@

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

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

from ._creation_functions import (
asarray,
Expand Down

0 comments on commit f03488c

Please sign in to comment.