Staging
v0.5.1
https://github.com/python/cpython
Raw File
Tip revision: 81c393b3ded977375d35297b3d47b47014b2391a authored by Georg Brandl on 10 April 2012, 17:30:22 UTC
Merge.
Tip revision: 81c393b
badsyntax_future3.py
"""This is a test"""
from __future__ import nested_scopes
from __future__ import rested_snopes

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

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