Staging
v0.5.1
https://github.com/python/cpython
Revision c55bb8a98fd249dbdd558f358ea12269d6221e86 authored by Jack Jansen on 07 January 2005, 13:13:50 UTC, committed by Jack Jansen on 07 January 2005, 13:13:50 UTC
Always set CONFIGURE_MACOSX_DEPLOYMENT_TARGET otherwise it may be set
to an empty value and distutils will get confused lateron.
1 parent 91199cf
Raw File
Tip revision: c55bb8a98fd249dbdd558f358ea12269d6221e86 authored by Jack Jansen on 07 January 2005, 13:13:50 UTC
Backport of 1.479:
Tip revision: c55bb8a
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