diff options
| author | Bas van Beek <b.f.van.beek@vu.nl> | 2020-10-26 22:29:22 +0100 |
|---|---|---|
| committer | Bas van Beek <b.f.van.beek@vu.nl> | 2020-10-26 22:29:22 +0100 |
| commit | 061c842994866bbb9786f8316921a3b8ed3e3adc (patch) | |
| tree | 54dc947c3b70aa737cbad2d764d66a739e6027a6 | |
| parent | 132f667d2be8ae69ad10600b483c4cf4992dd3f8 (diff) | |
| download | numpy-061c842994866bbb9786f8316921a3b8ed3e3adc.tar.gz | |
MAINT: Removed unused imports
| -rw-r--r-- | numpy/core/shape_base.pyi | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/numpy/core/shape_base.pyi b/numpy/core/shape_base.pyi index 2fe945f3b..b20598b1a 100644 --- a/numpy/core/shape_base.pyi +++ b/numpy/core/shape_base.pyi @@ -1,13 +1,13 @@ import sys -from typing import TypeVar, overload, List, Sequence, Optional +from typing import TypeVar, overload, List, Sequence from numpy import ndarray from numpy.typing import ArrayLike if sys.version_info >= (3, 8): - from typing import SupportsIndex, Literal + from typing import SupportsIndex else: - from typing_extensions import Literal, Protocol + from typing_extensions import Protocol class SupportsIndex(Protocol): def __index__(self) -> int: ... |
