view Lib/test/test_future2.py @ 51611:dfcf690a67c8 legacy-trunk

Add optional code signing after merging.
author Martin v. Löwis <martin@v.loewis.de>
date Fri, 13 Feb 2009 20:51:48 +0000
parents 47eaa38b29cb
children 99027c2b3fd2
line wrap: on
line source

"""This is a test"""

from __future__ import nested_scopes; import string

def f(x):
    def g(y):
        return x + y
    return g

result = f(2)(4)