summaryrefslogtreecommitdiffstats
path: root/Lib/test/badsyntax_future8.py
blob: ca45289e2e5a4fd5c0a23bc3b4f9da23c95bff86 (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))