Staging
v0.8.1
Revision a12d0ccfbe189ba7f3ed99cb1feac69aa03d7fe0 authored by Barry Warsaw on 10 April 2012, 14:59:35 UTC, committed by Barry Warsaw on 10 April 2012, 14:59:35 UTC
1 parent 75076b4
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