diff options
author | Elisha Hollander <just4now666666@gmail.com> | 2021-07-07 13:41:08 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-07-07 13:41:08 +0300 |
commit | d785aa39f99720950cd7f9acfe1133494cb5ff58 (patch) | |
tree | 8f78de6090ff688d0da26dc99eef47a5a26c607b /numpy/typing/_array_like.py | |
parent | 3d83143c2c2f877ee921c4c7c6746d836c459839 (diff) | |
download | numpy-d785aa39f99720950cd7f9acfe1133494cb5ff58.tar.gz |
MAINT: Remove unused imports and unreachable code (#18762)
* Remove unnecessary imports and minor fixes
Diffstat (limited to 'numpy/typing/_array_like.py')
-rw-r--r-- | numpy/typing/_array_like.py | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/numpy/typing/_array_like.py b/numpy/typing/_array_like.py index b41accc21..c562f3c1f 100644 --- a/numpy/typing/_array_like.py +++ b/numpy/typing/_array_like.py @@ -2,7 +2,6 @@ from __future__ import annotations import sys from typing import Any, Sequence, TYPE_CHECKING, Union, TypeVar, Generic - from numpy import ( ndarray, dtype, @@ -20,9 +19,7 @@ from numpy import ( str_, bytes_, ) - from . import _HAS_TYPING_EXTENSIONS -from ._dtype_like import DTypeLike if sys.version_info >= (3, 8): from typing import Protocol |