summaryrefslogtreecommitdiff
path: root/numpy/array_api/_typing.py
diff options
context:
space:
mode:
authorBas van Beek <43369155+BvB93@users.noreply.github.com>2021-09-27 14:47:22 +0200
committerBas van Beek <43369155+BvB93@users.noreply.github.com>2021-09-29 22:49:52 +0200
commit4f8f50d5b5e992afaf0ef08773bd88d696683bd3 (patch)
treecf92e1d893d6fd0c50b12159244f07767a7656c0 /numpy/array_api/_typing.py
parentdc69553ef179b6713d85ec747e6d030dd7087f05 (diff)
downloadnumpy-4f8f50d5b5e992afaf0ef08773bd88d696683bd3.tar.gz
MAINT: Import `Array` from the `_array_object` namespace
Changed as `Array` does not live in the main `np.array_api` namespace
Diffstat (limited to 'numpy/array_api/_typing.py')
-rw-r--r--numpy/array_api/_typing.py2
1 files changed, 1 insertions, 1 deletions
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,