remove duplicates from a list of sets 'L',[set(item) for item in set(frozenset(item) for item in L)]