diff options
| author | guido@google.com <guido@google.com> | 2011-03-29 19:09:45 (GMT) |
|---|---|---|
| committer | guido@google.com <guido@google.com> | 2011-03-29 19:09:45 (GMT) |
| commit | 69cfcabae3d72845d44e1078d25072fdbb02072c (patch) | |
| tree | 0aedaa424e8c8f7139567aed7b6980ea59e16c97 /Lib/test/future_test2.py | |
| parent | 2008a8f8c09b18fbd24e8039553d50a828dd3fb2 (diff) | |
| parent | e6c1eb92675f67d1907bd7ba00c44262c18e93d4 (diff) | |
| download | cpython-69cfcabae3d72845d44e1078d25072fdbb02072c.zip cpython-69cfcabae3d72845d44e1078d25072fdbb02072c.tar.gz cpython-69cfcabae3d72845d44e1078d25072fdbb02072c.tar.bz2 | |
Merge.
Diffstat (limited to 'Lib/test/future_test2.py')
| -rw-r--r-- | Lib/test/future_test2.py | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/Lib/test/future_test2.py b/Lib/test/future_test2.py new file mode 100644 index 0000000..3d7fc86 --- /dev/null +++ b/Lib/test/future_test2.py @@ -0,0 +1,10 @@ +"""This is a test""" + +from __future__ import nested_scopes; import site + +def f(x): + def g(y): + return x + y + return g + +result = f(2)(4) |
