1 2 3 4 5 6 7 8 9 10 11 12 13
def f(x): def h(q): return q + y + z global y y=x z=1 return y + x def g(): return y,y x : x.a = 1 x : x.f(10)