blob: 3d7fc860a3765545bdb3b2ff9ffa24c767721f26 [file] [log] [blame]
Jeremy Hylton62e2c7e2001-02-28 17:48:06 +00001"""This is a test"""
2
Neal Norwitz9d72bb42007-04-17 08:48:32 +00003from __future__ import nested_scopes; import site
Jeremy Hylton62e2c7e2001-02-28 17:48:06 +00004
5def f(x):
6 def g(y):
7 return x + y
8 return g
9
Neal Norwitz328f3382003-12-13 22:43:34 +000010result = f(2)(4)