diff options
author | Sebastian Berg <sebastian@sipsolutions.net> | 2020-11-03 09:05:52 -0600 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-11-03 09:05:52 -0600 |
commit | 4c83c0444c68b89b051f7ef8d8eb1a2276439d78 (patch) | |
tree | 96303e2aa21c616b6a2379489e83ad47371aeeed /numpy/typing/_array_like.py | |
parent | 9dca4085c724b3e62d54dee33e42ebdba3bb975c (diff) | |
parent | c4684bb542db2690e678d22bf32745e484ef04e3 (diff) | |
download | numpy-4c83c0444c68b89b051f7ef8d8eb1a2276439d78.tar.gz |
Merge pull request #17699 from BvB93/DTypeLike
MAINT: Rename `DtypeLike` to `DTypeLike`
Diffstat (limited to 'numpy/typing/_array_like.py')
-rw-r--r-- | numpy/typing/_array_like.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/numpy/typing/_array_like.py b/numpy/typing/_array_like.py index 1c00b200f..a1a604239 100644 --- a/numpy/typing/_array_like.py +++ b/numpy/typing/_array_like.py @@ -3,7 +3,7 @@ from typing import Any, overload, Sequence, TYPE_CHECKING, Union from numpy import ndarray from ._scalars import _ScalarLike -from ._dtype_like import DtypeLike +from ._dtype_like import DTypeLike if sys.version_info >= (3, 8): from typing import Protocol @@ -19,9 +19,9 @@ else: if TYPE_CHECKING or HAVE_PROTOCOL: class _SupportsArray(Protocol): @overload - def __array__(self, __dtype: DtypeLike = ...) -> ndarray: ... + def __array__(self, __dtype: DTypeLike = ...) -> ndarray: ... @overload - def __array__(self, dtype: DtypeLike = ...) -> ndarray: ... + def __array__(self, dtype: DTypeLike = ...) -> ndarray: ... else: _SupportsArray = Any |