title: Python __doc__ returning None
body: <p>Just recently I have been getting very a bizarre issue, which I have found no resolve to. For example, if I run the following code in the interpreter</p>
  
  <pre><code>&gt;&gt;&gt; def test():
  ...     'docstring'
  ...     ...
  ... 
  &gt;&gt;&gt; print(test.__doc__)
  </code></pre>
  
  <p>I get 'docstring,' no surprise there. Now if I run this in a *.py file, I get None.</p>
  
  <p>I have tried multiple files with the same results; but why does the interpreter return the docstring and not any files? Any help would most certainly be appreciated.</p>
  
  <p>Note: I have tried triple quotes, double and single, and any other variation I can muster, with no luck.</p>
  
  <p><strong>Solved</strong>:
  Not sure how exactly, but the command I was using was 'broken' in that shell instance. Working fine now</p>