summaryrefslogtreecommitdiff
path: root/numpy/typing/_callable.py
diff options
context:
space:
mode:
Diffstat (limited to 'numpy/typing/_callable.py')
-rw-r--r--numpy/typing/_callable.py12
1 files changed, 7 insertions, 5 deletions
diff --git a/numpy/typing/_callable.py b/numpy/typing/_callable.py
index 5e14b708f..0d876ae8d 100644
--- a/numpy/typing/_callable.py
+++ b/numpy/typing/_callable.py
@@ -12,11 +12,6 @@ import sys
from typing import Union, TypeVar, overload, Any
from numpy import (
- _BoolLike,
- _IntLike,
- _FloatLike,
- _ComplexLike,
- _NumberLike,
generic,
bool_,
timedelta64,
@@ -32,6 +27,13 @@ from numpy import (
complexfloating,
complex128,
)
+from ._scalars import (
+ _BoolLike,
+ _IntLike,
+ _FloatLike,
+ _ComplexLike,
+ _NumberLike,
+)
if sys.version_info >= (3, 8):
from typing import Protocol