view Lib/test/test_future2.py @ 27998:e27f58a50737 legacy-trunk

SF bug #690377: Dud footnote reference in distutils docs
author Raymond Hettinger <python@rcn.com>
date Fri, 21 Feb 2003 02:47:09 +0000
parents e1b1e68cbd8c
children 47eaa38b29cb
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

print f(2)(4)