Jeremy Hylton | 62e2c7e | 2001-02-28 17:48:06 +0000 | [diff] [blame] | 1 | """This is a test""" |
2 | |||||
3 | from __future__ import nested_scopes; import string; from __future__ import \ | ||||
4 | nested_scopes | ||||
5 | |||||
6 | def f(x): | ||||
7 | def g(y): | ||||
8 | return x + y | ||||
9 | return g | ||||
10 | |||||
Neal Norwitz | 328f338 | 2003-12-13 22:43:34 +0000 | [diff] [blame] | 11 | result = f(2)(4) |