Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
561
def
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
572
def
hasbody(rout):
Callers
nothing calls this directly
Calls
2
ismodule
Function · 0.85
hasbody
Function · 0.85
Tested by
no test coverage detected