git: 9front

ref: 986efb04152e2c8a04d28bc6e50a2235ab0e1af0
dir: /sys/lib/python/test/test_future1.py/

View raw version
"""This is a test"""

# Import the name nested_scopes twice to trigger SF bug #407394 (regression).
from __future__ import nested_scopes, nested_scopes

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

result = f(2)(4)