summaryrefslogtreecommitdiffstats
path: root/AppPkg/Applications/Python/Python-2.7.2/Lib/test/badsyntax_future6.py
blob: f01d7886798a335262cae1c88f7682330bf90742 (plain)
1
2
3
4
5
6
7
8
9
10
"""This is a test"""
"this isn't a doc string"
from __future__ import nested_scopes

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

result = f(2)(4)