title: python ordereddict or OrderedDict?
body: <p>I'm so confused right now. I'm using PyYAML for editing some YAML files.</p>
  
  <pre><code>data = yaml.load_all(open('testingyaml.yaml'),Loader=yaml.RoundTripLoader)
  </code></pre>
  
  <p>My testingyaml.yaml file contains the following content:</p>
  
  <pre><code>spring:
    profiles: dev
    datasource:
      url: jdbc:postgresql://127.0.0.1:5432/nfvgrid
  dns:
    enable: false
  cassandra:
    host: 192.168.7.151
  </code></pre>
  
  <p>When I print data it prints the following:</p>
  
  <p><code>ordereddict([('spring', ordereddict([('profiles', 'dev'), ('datasource', ordereddict([('url', 'jdbc:postgresql://127.0.0.1:5432/nfvgrid')]))])), ('dns', ordereddict([('enable', False)])), ('cassandra', ordereddict([('host', '192.168.7.151')]))])</code></p>
  
  <p>I further want to perform some operations on this ordered dictionary but python throws an error <code>NameError: name 'ordereddict' is not defined</code></p>
  
  <p>It's usually <code>OrderedDict</code> but somehow PyYAML returns ordereddict. 
  How should I solve this issue?</p>