Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/astanin/python-tabulate
/ _flat_list
Function
_flat_list
tabulate/__init__.py:1216–1223 ·
view source on GitHub ↗
(nested_list)
Source
from the content-addressed store, hash-verified
1214
1215
1216
def
_flat_list(nested_list):
1217
ret = []
1218
for
item in nested_list:
1219
if
isinstance(item, list):
1220
ret.extend(item)
1221
else
:
1222
ret.append(item)
1223
return
ret
1224
1225
1226
def
_align_column(
Callers
1
_align_column
Function · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected