title: Python Importing object that originates in one module from a different module into a third module
body: <p>I was reading the sourcode for a python project and came across the following line:</p>
  
  <pre><code>from couchexport.export import Format
  </code></pre>
  
  <p>(source: <a href="https://github.com/wbnigeria/couchexport/blob/master/couchexport/views.py#L1" rel="noreferrer">https://github.com/wbnigeria/couchexport/blob/master/couchexport/views.py#L1</a> )</p>
  
  <p>I went over to <code>couchexport/export.py</code> to see what <code>Format</code> was (Class? Dict? something else?).  Unfortunately <code>Format</code> isn't in that file.  <code>export.py</code> does however import a <code>Format</code> from couchexport.models where there <em>is</em> a <code>Format</code> class (source: <a href="https://github.com/wbnigeria/couchexport/blob/master/couchexport/models.py#L11" rel="noreferrer">https://github.com/wbnigeria/couchexport/blob/master/couchexport/models.py#L11</a>).</p>
  
  <p>When I open up the original file in my IDE and have it look up the declaration, in line I mentioned at the start of this question, it leads directly to models.py.</p>
  
  <p>What's going on?  How can an import from one file (<code>export.py</code>) actually be an import from another file (<code>models.py</code>) without being explicitly stated?</p>