summaryrefslogtreecommitdiffstats
path: root/Lib/test/test_future4.py
blob: 805263be8915e19a0d4c4f101847a2453deb98b7 (plain)
1
2
3
4
5
6
7
8
9
10
"""This is a test"""
import __future__
from __future__ import nested_scopes

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

print f(2)(4)