This is a pre-release version (2.5.0.dev0+git20251130.2de293a). Go to latest (2.4.4)
{ } Raw JSON

bundles / numpy 2.5.0.dev0+git20251130.2de293a / numpy / _utils / _inspect / isfunction

function

numpy._utils._inspect:isfunction

source: build-install/usr/lib/python3.14/site-packages/numpy/_utils/_inspect.py :26

Signature

def   isfunction ( object )

Summary

Return true if the object is a user-defined function.

Extended Summary

Function objects provide these attributes:

__doc__ documentation string __name__ name with which this function was defined func_code code object containing compiled function bytecode func_defaults tuple of any default values for arguments func_doc (same as __doc__) func_globals global namespace in which this function was defined func_name (same as __name__)

Aliases

  • numpy._utils._inspect.isfunction