Staging
v0.5.1
https://github.com/python/cpython
Raw File
Tip revision: 6a336f6484a13c01516b6bfc3b767075cc2cb4f7 authored by Benjamin Peterson on 03 July 2010, 13:57:30 UTC
move sections
Tip revision: 6a336f6
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