projects
/
python
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8471a35
)
Add test case to cover multiple future statements on separate lines of
author
Jeremy Hylton
<jeremy@alum.mit.edu>
Mon, 20 Aug 2001 21:18:56 +0000
(21:18 +0000)
committer
Jeremy Hylton
<jeremy@alum.mit.edu>
Mon, 20 Aug 2001 21:18:56 +0000
(21:18 +0000)
a module.
Lib/test/test_future3.py
[new file with mode: 0644]
patch
|
blob
diff --git a/Lib/test/test_future3.py
b/Lib/test/test_future3.py
new file mode 100644
(file)
index 0000000..
8f8c274
--- /dev/null
+++ b/
Lib/test/test_future3.py
@@ -0,0
+1,11
@@
+from __future__ import nested_scopes
+from __future__ import division
+from __future__ import nested_scopes
+
+def f(x):
+ def g(y):
+ return y // x
+ return g
+
+
+print f(2)(5)