title: Why did I need to specify a specific class to import in python?
body: <p>I just upgraded to Python 2.7.1 (on Mac) so I could use OrderedDicts.</p>
  
  <p>After trying to run the following script:</p>
  
  <pre><code>import collections
  
  test = OrderedDict()
  </code></pre>
  
  <p>I got:</p>
  
  <pre><code>NameError: name 'OrderedDict' is not defined
  </code></pre>
  
  <p>I fixed it with:</p>
  
  <pre><code>from collections import OrderedDict
  </code></pre>
  
  <p>...but I want to know why I needed to do that?</p>
  
  <p>Why didn't the broad <code>import collections</code> work for me?</p>