badsyntax_future6.py 161 Bytes
Newer Older
1 2 3 4 5 6 7 8 9
"""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

10
result = f(2)(4)