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