Staging
v0.5.1
https://github.com/python/cpython
Raw File
Tip revision: 376dd0edfa1dd77e2f59b4a09b444826b9fa9eb1 authored by Benjamin Peterson on 06 April 2013, 13:58:51 UTC
change version to 2.7.4
Tip revision: 376dd0e
test_future2.py
"""This is a test"""

from __future__ import nested_scopes; import string

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

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