MCPcopy Create free account
hub / github.com/RT-Thread/rt-thread / ListMap

Function ListMap

tools/utils.py:145–157  ·  view source on GitHub ↗
(l)

Source from the content-addressed store, hash-verified

143 return False
144
145def ListMap(l):
146 ret_list = []
147 for item in l:
148 if type(item) == type(()):
149 ret = ListMap(item)
150 ret_list += ret
151 elif type(item) == type([]):
152 ret = ListMap(item)
153 ret_list += ret
154 else:
155 ret_list.append(item)
156
157 return ret_list
158
159def TargetGetList(env, postfix):
160 global source_ext

Callers 1

ProjectInfoFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected