Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
Index your code
hub
/
github.com/numpy/numpy
/ flatlist
Function
flatlist
numpy/f2py/auxfuncs.py:797–800 ·
view source on GitHub ↗
(lst)
Source
from the content-addressed store, hash-verified
795
796
797
def
flatlist(lst):
798
if
isinstance(lst, list):
799
return
reduce(
lambda
x, y, f=flatlist: x + f(y), lst, [])
800
return
[lst]
801
802
803
def
stripcomma(s):
Callers
1
replace
Function · 0.85
Calls
1
f
Function · 0.50
Tested by
no test coverage detected
Used in the wild
real call sites across dependent graphs
searching dependent graphs…