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

Function getargs

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

Source from the content-addressed store, hash-verified

726
727
728def getargs(rout):
729 sortargs, args = [], []
730 if 'args' in rout:
731 args = rout['args']
732 if 'sortvars' in rout:
733 for a in rout['sortvars']:
734 if a in args:
735 sortargs.append(a)
736 for a in args:
737 if a not in sortargs:
738 sortargs.append(a)
739 else:
740 sortargs = rout['args']
741 return args, sortargs
742
743
744def getargs2(rout):

Callers 1

buildcallbackFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected