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

from __future__ import *

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

print f(2)(4)