bundles / numpy 2.4.4 / numpy / _utils / _inspect / isfunction
function
numpy._utils._inspect:isfunction
source: /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