How to unify redundant tuples of a dictionary?
<pre><code>t = ({'x':1}, {'x':1}, {'y':2})
</code></pre>

<p>I am unifying it using:</p>

<pre><code>l = []
for i in t:
     if i not in l:
        l.append(i)

tuple(l)
</code></pre>

<p>gives the result <code>({'x': 1}, {'y': 2})</code></p>

<p>Is there any better way for that?</p>

<p>Another Sample Input = <code>({'x':1, 'y':1}, {'x':3}, {'x':1, 'y':2}, {'x':1, 'y':2})</code>
Sample output: <code>({'x':1, 'y':1}, {'x':3}, {'x':1, 'y':2})</code></p>
