Staging
v0.5.1
https://github.com/python/cpython
Raw File
Tip revision: 6053744c3a3175992ac5f27cdf628e5ca01cbb57 authored by Barry Warsaw on 03 August 2010, 22:39:42 UTC
Bumping to 2.6.6 rc 1
Tip revision: 6053744
badsyntax_future5.py
"""This is a test"""
from __future__ import nested_scopes
import foo
from __future__ import nested_scopes


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

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