Staging
v0.8.1
v0.8.1
Revision b88548069599f949c5b451ef95be739241711e24 authored by Barry Warsaw on 18 September 2008, 03:00:28 UTC, committed by Barry Warsaw on 18 September 2008, 03:00:28 UTC
1 parent f2fa87b
test_future1.py
"""This is a test"""
# Import the name nested_scopes twice to trigger SF bug #407394 (regression).
from __future__ import nested_scopes, nested_scopes
def f(x):
def g(y):
return x + y
return g
result = f(2)(4)
Computing file changes ...