Skip to content

Commit 09550a7

Browse files
1 parent 95ae5eb commit 09550a7

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

tabulate/__init__.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1108,8 +1108,7 @@ def _flat_list(nested_list):
11081108
ret = []
11091109
for item in nested_list:
11101110
if isinstance(item, list):
1111-
for subitem in item:
1112-
ret.append(subitem)
1111+
ret.extend(item)
11131112
else:
11141113
ret.append(item)
11151114
return ret

0 commit comments

Comments
 (0)