summaryrefslogtreecommitdiff
path: root/numpy
diff options
context:
space:
mode:
Diffstat (limited to 'numpy')
-rw-r--r--numpy/typing/_callable.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/numpy/typing/_callable.py b/numpy/typing/_callable.py
index 1591ca144..0e34cd799 100644
--- a/numpy/typing/_callable.py
+++ b/numpy/typing/_callable.py
@@ -143,6 +143,8 @@ if TYPE_CHECKING or HAVE_PROTOCOL:
@overload
def __call__(self, __other: timedelta64) -> _NumberType_co: ...
@overload
+ def __call__(self, __other: _BoolLike_co) -> NoReturn: ...
+ @overload
def __call__(self, __other: _FloatLike_co) -> timedelta64: ...
class _IntTrueDiv(Protocol[_NBit1]):