summaryrefslogtreecommitdiffstats
path: root/Lib/test/test_future2.py
blob: e3df0a6d53a1106ff5790ccc154ba14b7b6a3baf (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

print f(2)(4)