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

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

print f(2)(4)