Staging
v0.8.1
Revision 6003ac526716a107c9d8e9d0ca3150c752fefa5f authored by Larry Hastings on 08 March 2015, 08:24:34 UTC, committed by Larry Hastings on 08 March 2015, 08:24:34 UTC
1 parent cfb5b87
Raw File
badsyntax_future7.py
"""This is a test"""

from __future__ import nested_scopes; import string; from __future__ import \
     nested_scopes

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

result = f(2)(4)
back to top