summaryrefslogtreecommitdiff
path: root/Lib/test/badsyntax_future4.py
blob: b5f4c98e922ac229ddbdb23bdff85e2ebedfbd15 (plain)
1
2
3
4
5
6
7
8
9
10
"""This is a test"""
import __future__
from __future__ import nested_scopes

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

result = f(2)(4)