title: How to merge 2 ordered dictionaries in python?
body: <p>I have 2 ordered dictionaries, like:</p>
  
  <pre><code>a = collections.OrderedDict()
  b = collections.OrderedDict()
  </code></pre>
  
  <p>And they have stuff in them. How do I merge these 2? I tried:</p>
  
  <pre><code>mergeDict = dict(a.items() + b.items())
  </code></pre>
  
  <p>but doing this it's not a ordered dictionary anymore.</p>
  
  <p>What I am looking for: if <code>a = {1, 2, 5, 6}</code> and <code>b = [0, 7, 3, 9}</code> then <code>mergeDict = {1, 2, 5, 6, 0, 7, 3, 9}</code> </p>