Possible Duplicate:
Python: removing duplicates from a list of lists

Say i have list

a=[1,2,1,2,1,3]

If all elements in a are hashable (like in that case), this would do the job:

list(set(a))

But, what if

a=[[1,2],[1,2],[1,3]]

?

Edit
Report