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

Function one_list

tools/building.py:727–734  ·  view source on GitHub ↗
(l)

Source from the content-addressed store, hash-verified

725
726 # merge all objects into one list
727 def one_list(l):
728 lst = []
729 for item in l:
730 if type(item) == type([]):
731 lst += one_list(item)
732 else:
733 lst.append(item)
734 return lst
735
736 # handle local group
737 def local_group(group, objects):

Callers 1

DoBuildingFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected