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 / getargspec

function

numpy._utils._inspect:getargspec

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

Signature

def   getargspec ( func )

Summary

Get the names and default values of a function's arguments.

Extended Summary

A tuple of four things is returned: (args, varargs, varkw, defaults). 'args' is a list of the argument names (it may contain nested lists). 'varargs' and 'varkw' are the names of the * and ** arguments or None. 'defaults' is an n-tuple of the default values of the last n arguments.

Aliases

  • numpy._core.overrides.getargspec