def _from_iterable(iterables):
for itr in iterables:<EOL><INDENT>for element in itr:<EOL><INDENT>yield element<EOL><DEDENT><DEDENT>
itertools.chain.from_iterable alternative.

>>> list(_from_iterable([[1, 2], [3, 4]]))
[1, 2, 3, 4]