Suppose you have a function like f that calls a function m.g:
f
m.g
def f(x): return m.g(x, 2*x, x+1)
and f