PyXR

c:\python24\lib \ test \ test_future2.py



0001 """This is a test"""
0002 
0003 from __future__ import nested_scopes; import string
0004 
0005 def f(x):
0006     def g(y):
0007         return x + y
0008     return g
0009 
0010 result = f(2)(4)
0011 

Generated by PyXR 0.9.4
SourceForge.net Logo