cpython/Lib/test/future_test2.py
2011-03-24 14:57:05 -04:00

11 lines
149 B
Python

"""This is a test"""
from __future__ import nested_scopes; import site
def f(x):
def g(y):
return x + y
return g
result = f(2)(4)