MCPcopy Create free account
hub / github.com/numpy/numpy / func

Method func

numpy/lib/function_base.py:2356–2360  ·  view source on GitHub ↗
(*vargs)

Source from the content-addressed store, hash-verified

2354 the_args = list(args)
2355
2356 def func(*vargs):
2357 for _n, _i in enumerate(inds):
2358 the_args[_i] = vargs[_n]
2359 kwargs.update(zip(names, vargs[len(inds):]))
2360 return self.pyfunc(*the_args, **kwargs)
2361
2362 vargs = [args[_i] for _i in inds]
2363 vargs.extend([kwargs[_n] for _n in names])

Callers 7

__init__Method · 0.45
_loose_callMethod · 0.45
_strict_callMethod · 0.45
time_rngMethod · 0.45
setupMethod · 0.45
time_opMethod · 0.45
time_opMethod · 0.45

Calls 1

updateMethod · 0.80

Tested by

no test coverage detected