I have the following 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
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?