Staging
v0.5.1
https://github.com/python/cpython
Raw File
Tip revision: bde44876de7a12838a3e83735b1f5d88380d3877 authored by Barry Warsaw on 18 October 2009, 16:50:06 UTC
Bump to 2.6.4rc2
Tip revision: bde4487
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