Unique items in list of sets

If by "unique items" you mean unique sets, you could just use frozenset, which is a hashable but immutable version of set. You could either build your sets as frozenset objects initially, or if you need to mutate them, do something like: