Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/numpy/numpy
/ containsmodule
Function
containsmodule
numpy/f2py/auxfuncs.py:586–594 ·
view source on GitHub ↗
(block)
Source
from the content-addressed store, hash-verified
584
585
586
def
containsmodule(block):
587
if
ismodule(block):
588
return
1
589
if
not hasbody(block):
590
return
0
591
for
b in block[
'body'
]:
592
if
containsmodule(b):
593
return
1
594
return
0
595
596
597
def
hasbody(rout):
Callers
nothing calls this directly
Calls
2
ismodule
Function · 0.85
hasbody
Function · 0.85
Tested by
no test coverage detected
Used in the wild
real call sites across dependent graphs
searching dependent graphs…