diff options
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 77e3ee0c4..e1fdee3ba 100644 --- a/numpy/typing/_callable.py +++ b/numpy/typing/_callable.py @@ -314,7 +314,7 @@ if TYPE_CHECKING or HAVE_PROTOCOL: ) -> complexfloating[Union[_NBit1, _NBit2], Union[_NBit1, _NBit2]]: ... class _NumberOp(Protocol): - def __call__(self, __other: _NumberLike_co) -> number: ... + def __call__(self, __other: _NumberLike_co) -> Any: ... class _ComparisonOp(Protocol[_T]): @overload |