MCPcopy 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
797def flatlist(lst):
798 if isinstance(lst, list):
799 return reduce(lambda x, y, f=flatlist: x + f(y), lst, [])
800 return [lst]
801
802
803def stripcomma(s):

Callers 1

replaceFunction · 0.85

Calls 1

fFunction · 0.50

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…