This is a pre-release version (2.0.0.dev0+git20260907.41eeb59).Go to latest (1.18.0)
{ } Raw JSON

bundles / scipy 2.0.0.dev0+git20260907.41eeb59 / scipy / _lib / _util / getfullargspec_no_self

function

scipy._lib._util:getfullargspec_no_self

source: build-install/usr/lib/python3.14/site-packages/scipy/_lib/_util.py:470

Signature

def getfullargspec_no_self(func)

Summary

inspect.getfullargspec replacement using inspect.signature.

Extended Summary

If func is a bound method, do not list the 'self' parameter.

Parameters

func : callable

A callable to inspect

Returns

fullargspec : FullArgSpec(args, varargs, varkw, defaults, kwonlyargs,

kwonlydefaults, annotations)

NOTE: if the first argument of func is self, it is not, I repeat not, included in fullargspec.args. This is done for consistency between inspect.getargspec() under Python 2.x, and inspect.signature() under Python 3.x.

Aliases

  • scipy.optimize._minpack_py._getfullargspec