diff options
author | Bas van Beek <b.f.van.beek@vu.nl> | 2020-11-17 22:58:16 +0100 |
---|---|---|
committer | Bas van Beek <b.f.van.beek@vu.nl> | 2020-11-17 22:58:16 +0100 |
commit | 0da188da1e7a65b85b73d2499f7397fea89ff7bd (patch) | |
tree | 2204d642f0873143c2caa8c36cb2fe3c2b631617 /numpy/typing/_callable.py | |
parent | a3703dc8b95b533bd2626a53a483f532155dcc4f (diff) | |
download | numpy-0da188da1e7a65b85b73d2499f7397fea89ff7bd.tar.gz |
MAINT: Simplify existing `_<X>Like` annotations
Diffstat (limited to 'numpy/typing/_callable.py')
-rw-r--r-- | numpy/typing/_callable.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/numpy/typing/_callable.py b/numpy/typing/_callable.py index 91b7a4ec2..97dc3c2e3 100644 --- a/numpy/typing/_callable.py +++ b/numpy/typing/_callable.py @@ -101,7 +101,7 @@ if TYPE_CHECKING or HAVE_PROTOCOL: class _BoolTrueDiv(Protocol): @overload - def __call__(self, __other: Union[float, _IntLike, _BoolLike]) -> float64: ... + def __call__(self, __other: Union[float, _IntLike]) -> float64: ... @overload def __call__(self, __other: complex) -> complex128: ... @overload |