diff options
author | Bas van Beek <b.f.van.beek@vu.nl> | 2020-11-03 13:08:58 +0100 |
---|---|---|
committer | Bas van Beek <b.f.van.beek@vu.nl> | 2020-11-03 13:18:33 +0100 |
commit | c4684bb542db2690e678d22bf32745e484ef04e3 (patch) | |
tree | cdf35b7053a3a447ca9bbf63a10fb51931378915 /numpy/core/function_base.pyi | |
parent | 671e8a02aeed0e823e9380557cad3c20ba30a3cb (diff) | |
download | numpy-c4684bb542db2690e678d22bf32745e484ef04e3.tar.gz |
MAINT: Rename `DtypeLike` to `DTypeLike`
Diffstat (limited to 'numpy/core/function_base.pyi')
-rw-r--r-- | numpy/core/function_base.pyi | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/numpy/core/function_base.pyi b/numpy/core/function_base.pyi index 705712253..1490bed4a 100644 --- a/numpy/core/function_base.pyi +++ b/numpy/core/function_base.pyi @@ -2,7 +2,7 @@ import sys from typing import overload, Tuple, Union, Sequence, Any from numpy import ndarray, inexact -from numpy.typing import ArrayLike, DtypeLike, _SupportsArray, _NumberLike +from numpy.typing import ArrayLike, DTypeLike, _SupportsArray, _NumberLike if sys.version_info >= (3, 8): from typing import SupportsIndex, Literal @@ -24,7 +24,7 @@ def linspace( num: SupportsIndex = ..., endpoint: bool = ..., retstep: Literal[False] = ..., - dtype: DtypeLike = ..., + dtype: DTypeLike = ..., axis: SupportsIndex = ..., ) -> ndarray: ... @overload @@ -34,7 +34,7 @@ def linspace( num: SupportsIndex = ..., endpoint: bool = ..., retstep: Literal[True] = ..., - dtype: DtypeLike = ..., + dtype: DTypeLike = ..., axis: SupportsIndex = ..., ) -> Tuple[ndarray, inexact]: ... def logspace( @@ -43,7 +43,7 @@ def logspace( num: SupportsIndex = ..., endpoint: bool = ..., base: _ArrayLikeNumber = ..., - dtype: DtypeLike = ..., + dtype: DTypeLike = ..., axis: SupportsIndex = ..., ) -> ndarray: ... def geomspace( @@ -51,6 +51,6 @@ def geomspace( stop: _ArrayLikeNumber, num: SupportsIndex = ..., endpoint: bool = ..., - dtype: DtypeLike = ..., + dtype: DTypeLike = ..., axis: SupportsIndex = ..., ) -> ndarray: ... |