summaryrefslogtreecommitdiff
path: root/AppPkg/Applications/Python/Python-2.7.2/Lib/test/badsyntax_future5.py
blob: a4cd91c934a42972f07849be4d2b32e8488fb2fe (plain)
1
2
3
4
5
6
7
8
9
10
11
12
"""This is a test"""
from __future__ import nested_scopes
import foo
from __future__ import nested_scopes


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

result = f(2)(4)