summaryrefslogtreecommitdiffstats
path: root/Lib/test/test_future5.py
blob: 118620873b28c6915a49416c640223ed5fa74d3e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
"""This is a test"""
from __future__ import nested_scopes
import foo
from __future__ import nested_scopes


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

print f(2)(4)