title: Set of dict values
body: <p>I have the following dict:</p>
  
  <pre><code>d = {'a': set([1,2,3]), 'b': set([3,4,5])}
  </code></pre>
  
  <p>How would I get a set of the unique values, that is, <code>set([1,2,3,4,5])</code></p>
  
  <p>So far I have:</p>
  
  <pre><code>all_values = set([])
  for item in d.values():
      all_values = all_values.union(item)
  
  &gt;&gt;&gt; all_values
  set([1, 2, 3, 4, 5])
  </code></pre>
  
  <p>Is there a way to do this in one line?</p>