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

Function findf90modules

numpy/f2py/f90mod_rules.py:29–40  ·  view source on GitHub ↗
(m)

Source from the content-addressed store, hash-verified

27
28
29def findf90modules(m):
30 if ismodule(m):
31 return [m]
32 if not hasbody(m):
33 return []
34 ret = []
35 for b in m['body']:
36 if ismodule(b):
37 ret.append(b)
38 else:
39 ret = ret + findf90modules(b)
40 return ret
41
42fgetdims1 = """\
43 external f2pysetdata

Callers 1

buildhooksFunction · 0.85

Calls 2

ismoduleFunction · 0.85
hasbodyFunction · 0.85

Tested by

no test coverage detected