summaryrefslogtreecommitdiff
path: root/Lib/test/future_test2.py
blob: 3d7fc860a3765545bdb3b2ff9ffa24c767721f26 (plain)
1
2
3
4
5
6
7
8
9
10
"""This is a test"""

from __future__ import nested_scopes; import site

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

result = f(2)(4)