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