diff options
author | Aaron Meurer <asmeurer@gmail.com> | 2021-07-09 13:56:34 -0600 |
---|---|---|
committer | Aaron Meurer <asmeurer@gmail.com> | 2021-07-09 13:56:34 -0600 |
commit | 5780a9bb5f662891da39eae80961455aaba0f6ac (patch) | |
tree | 270af67af21b76ecdca443267062c1c502ab3787 /numpy/_array_api/_creation_functions.py | |
parent | 4240314ed1e77e0b9d4546e654871274faca3e64 (diff) | |
download | numpy-5780a9bb5f662891da39eae80961455aaba0f6ac.tar.gz |
Remove typing exports from numpy/_array_api/_types.py
Diffstat (limited to 'numpy/_array_api/_creation_functions.py')
-rw-r--r-- | numpy/_array_api/_creation_functions.py | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/numpy/_array_api/_creation_functions.py b/numpy/_array_api/_creation_functions.py index 8fb2a8b12..9e9722a55 100644 --- a/numpy/_array_api/_creation_functions.py +++ b/numpy/_array_api/_creation_functions.py @@ -1,11 +1,10 @@ from __future__ import annotations -from typing import TYPE_CHECKING +from typing import TYPE_CHECKING, List, Optional, Tuple, Union if TYPE_CHECKING: - from ._types import (List, Optional, SupportsDLPack, - SupportsBufferProtocol, Tuple, Union, Array, Device, - Dtype) + from ._types import (NestedSequence, SupportsDLPack, + SupportsBufferProtocol, Array, Device, Dtype) from collections.abc import Sequence from ._dtypes import _all_dtypes |