Why isn't this docstring displaying?
<p>Just getting started with "Dive Into Python".  For some reason I can't get a docstring to display.</p>

<pre><code>#!/usr/bin/env python

def buildConnectionString(params):
    """Build a connection string from a dictionary of parameters
    """
    # Returns string
    return ";".join(["%s=%s" % (k, v) for k, v in params.items()])

if __name__ == "__main__":
    myParams = {"server":   "mpilgrim", \
                "database": "master",   \
                "uid":      "sa",       \
                "pwd":      "secret"    \
                }
    print buildConnectionString(myParams)
</code></pre>

<p>At the console:</p>

<pre><code>&gt;&gt;&gt; import odbchelper
&gt;&gt;&gt; print odbchelper.buildConnectionString.__doc__
None
&gt;&gt;&gt; 
</code></pre>

<p>This works fine:</p>

<pre><code>&gt;&gt;&gt; import sys
&gt;&gt;&gt; sys.path.__doc__
"list() -&gt; new empty list\nlist(iterable) -&gt; new list initialized from iterable's items"
&gt;&gt;&gt; 
</code></pre>

<p>I tried a number of permuations, including <code>"""</code> and <code>#</code> comments.  No joy.  Where is the problem?</p>
