summaryrefslogtreecommitdiffstats
path: root/Lib/test/test_future2.py
blob: 79eb73179de1ecc43d4cd4e365ce586d7668d1f1 (plain)
1
2
3
4
5
6
7
8
9
10
"""This is a test"""

from __future__ import nested_scopes; import string

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

result = f(2)(4)