summaryrefslogtreecommitdiff
path: root/numpy/_array_api
diff options
context:
space:
mode:
Diffstat (limited to 'numpy/_array_api')
-rw-r--r--numpy/_array_api/__init__.py2
-rw-r--r--numpy/_array_api/_array_object.py2
-rw-r--r--numpy/_array_api/_creation_functions.py2
-rw-r--r--numpy/_array_api/_data_type_functions.py2
-rw-r--r--numpy/_array_api/_searching_functions.py2
-rw-r--r--numpy/_array_api/_set_functions.py2
-rw-r--r--numpy/_array_api/_statistical_functions.py2
-rw-r--r--numpy/_array_api/_typing.py (renamed from numpy/_array_api/_types.py)0
-rw-r--r--numpy/_array_api/_utility_functions.py2
9 files changed, 8 insertions, 8 deletions
diff --git a/numpy/_array_api/__init__.py b/numpy/_array_api/__init__.py
index be8345759..57a4ff4e1 100644
--- a/numpy/_array_api/__init__.py
+++ b/numpy/_array_api/__init__.py
@@ -84,7 +84,7 @@ request.
argument of an operation is a 0-d array.
- All functions include type annotations, corresponding to those given in the
- spec (see _types.py for definitions of some custom types). These do not
+ spec (see _typing.py for definitions of some custom types). These do not
currently fully pass mypy due to some limitations in mypy.
- Dtype objects are just the NumPy dtype objects, e.g., float64 =
diff --git a/numpy/_array_api/_array_object.py b/numpy/_array_api/_array_object.py
index 404a09654..2377bffe3 100644
--- a/numpy/_array_api/_array_object.py
+++ b/numpy/_array_api/_array_object.py
@@ -22,7 +22,7 @@ from ._dtypes import _boolean_dtypes, _integer_dtypes, _floating_dtypes
from typing import TYPE_CHECKING
if TYPE_CHECKING:
- from ._types import Any, Optional, PyCapsule, Tuple, Union, Device, Dtype
+ from ._typing import Any, Optional, PyCapsule, Tuple, Union, Device, Dtype
import numpy as np
diff --git a/numpy/_array_api/_creation_functions.py b/numpy/_array_api/_creation_functions.py
index 517c2bfdd..88b3808b4 100644
--- a/numpy/_array_api/_creation_functions.py
+++ b/numpy/_array_api/_creation_functions.py
@@ -3,7 +3,7 @@ from __future__ import annotations
from typing import TYPE_CHECKING, List, Optional, Tuple, Union
if TYPE_CHECKING:
- from ._types import (NestedSequence, SupportsDLPack,
+ from ._typing import (NestedSequence, SupportsDLPack,
SupportsBufferProtocol, Array, Device, Dtype)
from collections.abc import Sequence
from ._dtypes import _all_dtypes
diff --git a/numpy/_array_api/_data_type_functions.py b/numpy/_array_api/_data_type_functions.py
index 693ceae84..0c42386b5 100644
--- a/numpy/_array_api/_data_type_functions.py
+++ b/numpy/_array_api/_data_type_functions.py
@@ -5,7 +5,7 @@ from ._array_object import Array
from dataclasses import dataclass
from typing import TYPE_CHECKING
if TYPE_CHECKING:
- from ._types import List, Tuple, Union, Dtype
+ from ._typing import List, Tuple, Union, Dtype
from collections.abc import Sequence
import numpy as np
diff --git a/numpy/_array_api/_searching_functions.py b/numpy/_array_api/_searching_functions.py
index 727f3013f..c96f258bb 100644
--- a/numpy/_array_api/_searching_functions.py
+++ b/numpy/_array_api/_searching_functions.py
@@ -4,7 +4,7 @@ from ._array_object import Array
from typing import TYPE_CHECKING
if TYPE_CHECKING:
- from ._types import Tuple
+ from ._typing import Tuple
import numpy as np
diff --git a/numpy/_array_api/_set_functions.py b/numpy/_array_api/_set_functions.py
index 098145866..40d4895bf 100644
--- a/numpy/_array_api/_set_functions.py
+++ b/numpy/_array_api/_set_functions.py
@@ -4,7 +4,7 @@ from ._array_object import Array
from typing import TYPE_CHECKING
if TYPE_CHECKING:
- from ._types import Tuple, Union
+ from ._typing import Tuple, Union
import numpy as np
diff --git a/numpy/_array_api/_statistical_functions.py b/numpy/_array_api/_statistical_functions.py
index 4f6b1c034..9e032adf0 100644
--- a/numpy/_array_api/_statistical_functions.py
+++ b/numpy/_array_api/_statistical_functions.py
@@ -4,7 +4,7 @@ from ._array_object import Array
from typing import TYPE_CHECKING
if TYPE_CHECKING:
- from ._types import Optional, Tuple, Union
+ from ._typing import Optional, Tuple, Union
import numpy as np
diff --git a/numpy/_array_api/_types.py b/numpy/_array_api/_typing.py
index 4ff718205..4ff718205 100644
--- a/numpy/_array_api/_types.py
+++ b/numpy/_array_api/_typing.py
diff --git a/numpy/_array_api/_utility_functions.py b/numpy/_array_api/_utility_functions.py
index ba77d3668..3a387877e 100644
--- a/numpy/_array_api/_utility_functions.py
+++ b/numpy/_array_api/_utility_functions.py
@@ -4,7 +4,7 @@ from ._array_object import Array
from typing import TYPE_CHECKING
if TYPE_CHECKING:
- from ._types import Optional, Tuple, Union
+ from ._typing import Optional, Tuple, Union
import numpy as np