this is a test from future import nestedscopes import site def fx def gy return x y return g result f24
from __future__ import nested_scopes; import site

def f(x):
    def g(y):
        return x + y
    return g

result = f(2)(4)