def _union_all(iterables):
    """Return a set representing the union of all the contents of an
    iterable of iterables.
    """
    out = set()
    for iterable in iterables:
        out.update(iterable)
    return out