Staging
v0.5.1
https://github.com/python/cpython
Raw File
Tip revision: 2142ee8718d9eb2f055c07efcf66284512f7fa61 authored by Georg Brandl on 23 February 2012, 20:19:25 UTC
Update copyright year.
Tip revision: 2142ee8
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