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

Function containsmodule

numpy/f2py/auxfuncs.py:561–569  ·  view source on GitHub ↗
(block)

Source from the content-addressed store, hash-verified

559
560
561def containsmodule(block):
562 if ismodule(block):
563 return 1
564 if not hasbody(block):
565 return 0
566 for b in block['body']:
567 if containsmodule(b):
568 return 1
569 return 0
570
571
572def hasbody(rout):

Callers

nothing calls this directly

Calls 2

ismoduleFunction · 0.85
hasbodyFunction · 0.85

Tested by

no test coverage detected