{ } Raw JSON

bundles / numpy 2.4.4 / numpy / testing / overrides / allows_array_function_override

function

numpy.testing.overrides:allows_array_function_override

source: /numpy/testing/overrides.py :70

Signature

def   allows_array_function_override ( func )

Summary

Determine if a Numpy function can be overridden via __array_function__

Parameters

func : callable

Function that may be overridable via __array_function__

Returns

: bool

True if func is a function in the Numpy API that is overridable via __array_function__ and False otherwise.

Aliases

  • numpy.testing.overrides.allows_array_function_override

Referenced by