From 4f8f50d5b5e992afaf0ef08773bd88d696683bd3 Mon Sep 17 00:00:00 2001 From: Bas van Beek <43369155+BvB93@users.noreply.github.com> Date: Mon, 27 Sep 2021 14:47:22 +0200 Subject: MAINT: Import `Array` from the `_array_object` namespace Changed as `Array` does not live in the main `np.array_api` namespace --- numpy/array_api/_typing.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'numpy/array_api') diff --git a/numpy/array_api/_typing.py b/numpy/array_api/_typing.py index 4785f5fe3..519e8463c 100644 --- a/numpy/array_api/_typing.py +++ b/numpy/array_api/_typing.py @@ -18,7 +18,7 @@ __all__ = [ import sys from typing import Any, Literal, Sequence, Type, Union, TYPE_CHECKING, TypeVar -from . import Array +from ._array_object import Array from numpy import ( dtype, int8, -- cgit v1.2.1