From 5780a9bb5f662891da39eae80961455aaba0f6ac Mon Sep 17 00:00:00 2001 From: Aaron Meurer Date: Fri, 9 Jul 2021 13:56:34 -0600 Subject: Remove typing exports from numpy/_array_api/_types.py --- numpy/_array_api/_creation_functions.py | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) (limited to 'numpy/_array_api/_creation_functions.py') 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 -- cgit v1.2.1