Jeremy Hylton | 62e2c7e | 2001-02-28 17:48:06 +0000 | [diff] [blame] | 1 | """This is a test""" |
2 | "this isn't a doc string" | ||||
3 | from __future__ import nested_scopes | ||||
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) |