Staging
v0.5.1
Revision a1f6fab46486ec431c04fe1b0c5c68d6e26f759d authored by Benjamin Peterson on 23 March 2013, 15:17:29 UTC, committed by Benjamin Peterson on 23 March 2013, 15:17:29 UTC
1 parent 43cb4b7
Raw File
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