diff options
author | Bas van Beek <43369155+BvB93@users.noreply.github.com> | 2021-12-21 20:24:22 +0100 |
---|---|---|
committer | Bas van Beek <43369155+BvB93@users.noreply.github.com> | 2021-12-23 21:15:00 +0100 |
commit | 7b5f39b5eeac583f822741eaf95a8229f2b5f8d7 (patch) | |
tree | a7a83a47f39d1e4e29becb5f835158e4b1c86e3a /numpy/fft/helper.pyi | |
parent | 99ed44df750fedfc0bbf956c88d15befd5e760cd (diff) | |
download | numpy-7b5f39b5eeac583f822741eaf95a8229f2b5f8d7.tar.gz |
STY: Use subscriptable `builtins` types over the generic aliases in `typing`
Diffstat (limited to 'numpy/fft/helper.pyi')
-rw-r--r-- | numpy/fft/helper.pyi | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/numpy/fft/helper.pyi b/numpy/fft/helper.pyi index d75826f4e..a7f3bdf51 100644 --- a/numpy/fft/helper.pyi +++ b/numpy/fft/helper.pyi @@ -1,4 +1,4 @@ -from typing import List, Any, TypeVar, overload +from typing import Any, TypeVar, overload from numpy import generic, dtype, integer, floating, complexfloating from numpy.typing import ( @@ -15,7 +15,7 @@ _SCT = TypeVar("_SCT", bound=generic) _ArrayLike = _FiniteNestedSequence[_SupportsArray[dtype[_SCT]]] -__all__: List[str] +__all__: list[str] @overload def fftshift(x: _ArrayLike[_SCT], axes: None | _ShapeLike = ...) -> NDArray[_SCT]: ... |