summaryrefslogtreecommitdiff
path: root/Lib/test/badsyntax_future9.py
blob: 916de06ab71e975edbd99cd90a98765a0cedaa05 (plain)
1
2
3
4
5
6
7
8
9
10
"""This is a test"""

from __future__ import nested_scopes, braces

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

print(f(2)(4))