title: comparison between nested two OrderedDict
body: <p>I want to compare between two nested orderedDict  dict, where i have to compare each and every key of dict1 Vs dict2.</p>
  
  <pre><code>&gt;&gt;&gt; dict1 = OrderedDict([('a', OrderedDict([('b', '20'),
          ('c', '30'),('d', OrderedDict([('e', '40')]))]))])
  &gt;&gt;&gt; dict2 = OrderedDict([('a', OrderedDict([('b', '20'),
          ('c', '30'),('d', OrderedDict([('e', '50')]))]))])
  </code></pre>
  
  <pre><code>for k,v in dict1.iteritems():
      for k1,v1 in v.iteritems():
          print "key %s, value  %s" %(k1,v1)
          for k2,v2 in dict2.iteritems():
              for k3,v3 in v2.iteritems():
                 print "key %s, value  %s" %(k3,v3)
  
  </code></pre>
  
  <p>Output:</p>
  
  <pre><code>
  key b, value  20
  key b, value  20
  key c, value  30
  key d, value  OrderedDict([('e', '50')])
  key c, value  30
  key b, value  20
  key c, value  30
  key d, value  OrderedDict([('e', '50')])
  key d, value  OrderedDict([('e', '40')])
  key b, value  20
  key c, value  30
  key d, value  OrderedDict([('e', '50')])
  
  </code></pre>
  
  <p>As the code is quite long, please help in writting in sort with comparision between (k1,v1) vs (k3,v3)</p>