numpy.testing.overrides.allows_array_ufunc_override#

testing.overrides.allows_array_ufunc_override(func)[source]#

Determine if a function can be overriden via __array_ufunc__

Parameters:
funccallable

Function that may be overridable via __array_ufunc__

Returns:
bool

True if func is overridable via __array_ufunc__ and False otherwise.