Staging
v0.5.1
https://github.com/python/cpython
Raw File
Tip revision: 1fae982b9b6fff5a987a69856b91339e5d023838 authored by Benjamin Peterson on 25 June 2016, 21:03:21 UTC
2.7.12 final
Tip revision: 1fae982
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