>>> LOL = [[1, 2], ['three']] >>> [*LOL, *LOL] [1, 2, 'three']
itertools.chain. Never liked you much anyway.
>>> [*L for L in LOL] File "<ipython-input-21-e86d2c09c33f>", line 1 [*L for L in LOL] ^ SyntaxError: iterable unpacking cannot be used in comprehension
Oh. Why can't we have nice things?
Unpacking in a comprehension seems to be obvious/pythonic, but since they've bothered to add that special error message there was a reason for disabling it. So, what's the problem with that syntax?