How to access module-level names in Python?
<p>I have the following code:</p>

<pre><code>import m

def f(m=None):
    if m is None:
        k = m.M() # I want this m to refer to the imported module, not the parameter
</code></pre>

<p>I would really prefer to keep both the parameter name and the module name the same. Is there a way explicitly to refer to the module m?</p>
