1 """This is a test""" 2 from __future__ import nested_scopes 3 import foo 4 from __future__ import nested_scopes 5 6 7 def f(x): 8 def g(y): 9 return x + y 10 return g 11 12 result = f(2)(4) 13