symbian-qemu-0.9.1-12/python-2.6.1/Lib/test/badsyntax_future7.py
changeset 1 2fb8b9db1c86
equal deleted inserted replaced
0:ffa851df0825 1:2fb8b9db1c86
       
     1 """This is a test"""
       
     2 
       
     3 from __future__ import nested_scopes; import string; from __future__ import \
       
     4      nested_scopes
       
     5 
       
     6 def f(x):
       
     7     def g(y):
       
     8         return x + y
       
     9     return g
       
    10 
       
    11 result = f(2)(4)