Neal Norwitz | 328f338 | 2003-12-13 22:43:34 +0000 | [diff] [blame] | 1 | """This is a test""" |
2 | |||||
3 | from __future__ import nested_scopes, braces | ||||
4 | |||||
5 | def f(x): | ||||
6 | def g(y): | ||||
7 | return x + y | ||||
8 | return g | ||||
9 | |||||
Guido van Rossum | be19ed7 | 2007-02-09 05:37:30 +0000 | [diff] [blame] | 10 | print(f(2)(4)) |