source:
python/trunk/Lib/test/badsyntax_future7.py
Last change on this file was 2, checked in by , 15 years ago | |
---|---|
|
|
File size: 196 bytes |
Line | |
---|---|
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 | |
11 | result = f(2)(4) |
Note:
See TracBrowser
for help on using the repository browser.