Staging
v0.5.1
https://github.com/python/cpython
Raw File
Tip revision: 5a29c5cc452e3fa52f48581094c7125d94d65cf6 authored by Benjamin Peterson on 23 May 2015, 16:02:14 UTC
python 2.7.10 final
Tip revision: 5a29c5c
badsyntax_future8.py
"""This is a test"""

from __future__ import *

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

print f(2)(4)
back to top