blob: 131db2c2164cf27164b8a062a9379c87d29ed681 [file] [log] [blame]
Jeremy Hylton62e2c7e2001-02-28 17:48:06 +00001"""This is a test"""
2
3from __future__ import nested_scopes; import string; from __future__ import \
4 nested_scopes
5
6def f(x):
7 def g(y):
8 return x + y
9 return g
10
Neal Norwitz328f3382003-12-13 22:43:34 +000011result = f(2)(4)