bundles / scipy 1.17.1 / scipy / _lib / _util / getfullargspec_no_self
function
scipy._lib._util:getfullargspec_no_self
source: /scipy/_lib/_util.py :524
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: callableA callable to inspect
Returns
fullargspec: FullArgSpec(args, varargs, varkw, defaults, kwonlyargs,kwonlydefaults, annotations)
NOTE: if the first argument of
funcis 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