def from_iterable(iterables):
    for it in iterables:
        for element in it:
            yield element
Backport of itertools.chain.from_iterable
dataset/ETHPy150Open divio/django-cms/cms/sitemaps/cms_sitemap.py/from_iterable