diff options
author | Aaron Meurer <asmeurer@gmail.com> | 2021-03-17 19:28:18 -0600 |
---|---|---|
committer | Aaron Meurer <asmeurer@gmail.com> | 2021-03-17 19:28:18 -0600 |
commit | ed05662905f83864a937fa67b7f762cda1277df2 (patch) | |
tree | 7afb66762a76cf033b18dd2ebb58d5a7b906d967 /numpy/_array_api/_manipulation_functions.py | |
parent | e42ae01029caf63e28b7533d4f7fd03ac0244066 (diff) | |
download | numpy-ed05662905f83864a937fa67b7f762cda1277df2.tar.gz |
Fix circular imports from types
Diffstat (limited to 'numpy/_array_api/_manipulation_functions.py')
-rw-r--r-- | numpy/_array_api/_manipulation_functions.py | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/numpy/_array_api/_manipulation_functions.py b/numpy/_array_api/_manipulation_functions.py index 1631a924f..4e5ca0728 100644 --- a/numpy/_array_api/_manipulation_functions.py +++ b/numpy/_array_api/_manipulation_functions.py @@ -1,8 +1,11 @@ from __future__ import annotations -from ._types import Optional, Tuple, Union, array from ._array_object import ndarray +from typing import TYPE_CHECKING +if TYPE_CHECKING: + from ._types import Optional, Tuple, Union, array + import numpy as np def concat(arrays: Tuple[array], /, *, axis: Optional[int] = 0) -> array: |