summaryrefslogtreecommitdiffstats
path: root/Lib/test/badsyntax_future3.py
blob: f1c8417edaa297388bf9b243d6556c738a30abc8 (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

result = f(2)(4)