codekingpro/portable-devtools
115k
1from collections.abc import Callable, Hashable
2from typing import Any
3from typing_extensions import TypeIs
4
5import numpy as np
6
7def get_overridable_numpy_ufuncs() -> set[np.ufunc]: ...
8def get_overridable_numpy_array_functions() -> set[Callable[..., Any]]: ...
9def allows_array_ufunc_override(func: object) -> TypeIs[np.ufunc]: ...
10def allows_array_function_override(func: Hashable) -> bool: ...
11 