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