def flatten(l):
    if isinstance(l, (list, tuple, collections.ValuesView)):
        rval = []
        for elem in l:
            if isinstance(elem, (list, tuple)):
                rval.extend(flatten(elem))
            else:
                rval.append(elem)
    else:
        return [l]
    return rval
Removes HTML tags from name and desription
dataset/ETHPy150Open rizar/attention-lvcsr/libs/Theano/theano/compile/nanguardmode.py/flatten--crossover with--dataset/ETHPy150Open ExCiteS/geokey/geokey/users/forms.py/UsergroupCreateForm.clean