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

Function getargs2

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

Source from the content-addressed store, hash-verified

742
743
744def getargs2(rout):
745 sortargs, args = [], rout.get('args', [])
746 auxvars = [a for a in rout['vars'].keys() if isintent_aux(rout['vars'][a])
747 and a not in args]
748 args = auxvars + args
749 if 'sortvars' in rout:
750 for a in rout['sortvars']:
751 if a in args:
752 sortargs.append(a)
753 for a in args:
754 if a not in sortargs:
755 sortargs.append(a)
756 else:
757 sortargs = auxvars + rout['args']
758 return args, sortargs
759
760
761def getrestdoc(rout):

Callers 1

buildapiFunction · 0.85

Calls 3

isintent_auxFunction · 0.85
keysMethod · 0.80
getMethod · 0.45

Tested by

no test coverage detected