title: Using pydoc on modules with imported functions
body: <p>I have created my own module <code>X</code>. At the beginning, I import functions from some other modules (e.g. <code>from math import func</code>). I have noticed that when I create documentation with: </p>
  
  <pre><code>pydoc -w X
  </code></pre>
  
  <p>the resulting file also contains the imported function function from the <code>math</code> module, which is undesirable (especially if I import many functions from several modules, which is what I do).</p>
  
  <p>It can be avoided by instead calling:</p>
  
  <pre><code>import math
  </code></pre>
  
  <p>but in this case I have to import all the functions and then call them using <code>math.func</code> instead of just <code>func</code>.</p>
  
  <p>Is there another way with which I can avoid populating my documentation with imported functions while still being able to import functions with <code>from</code>? </p>