MCPcopy Index your code
hub / github.com/numpy/numpy / getargs2

Function getargs2

numpy/f2py/auxfuncs.py:766–780  ·  view source on GitHub ↗
(rout)

Source from the content-addressed store, hash-verified

764
765
766def getargs2(rout):
767 sortargs, args = [], rout.get('args', [])
768 auxvars = [a for a in rout['vars'].keys() if isintent_aux(rout['vars'][a])
769 and a not in args]
770 args = auxvars + args
771 if 'sortvars' in rout:
772 for a in rout['sortvars']:
773 if a in args:
774 sortargs.append(a)
775 for a in args:
776 if a not in sortargs:
777 sortargs.append(a)
778 else:
779 sortargs = auxvars + rout['args']
780 return args, sortargs
781
782
783def getrestdoc(rout):

Callers 1

buildapiFunction · 0.85

Calls 3

isintent_auxFunction · 0.85
getMethod · 0.45
keysMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…