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

Function getuseblocks

numpy/f2py/auxfuncs.py:913–919  ·  view source on GitHub ↗
(pymod)

Source from the content-addressed store, hash-verified

911 return name
912
913def getuseblocks(pymod):
914 all_uses = []
915 for inner in pymod['body']:
916 for modblock in inner['body']:
917 if modblock.get('use'):
918 all_uses.extend([x for x in modblock.get("use").keys() if "__" not in x])
919 return all_uses
920
921def process_f2cmap_dict(f2cmap_all, new_map, c2py_map, verbose = False):
922 """

Callers 2

buildhooksFunction · 0.85
buildhooksFunction · 0.85

Calls 2

keysMethod · 0.80
getMethod · 0.45

Tested by

no test coverage detected