Staging
v0.5.1
https://github.com/python/cpython
Raw File
Tip revision: ccc4ffe7a1e2ae151959446722bf1b58834f5e9f authored by Benjamin Peterson on 15 October 2014, 21:52:42 UTC
close 3.1
Tip revision: ccc4ffe
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