Flattens only the first level.

def flatten_once(iterable, check=is_iterable):
    """Flattens only the first level."""
    for value in iterable:
        if check(value):
            for item in value:
                yield item
        else:
            yield value