repo.or.cz
/
python
/
dscho.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
move sections
[python/dscho.git]
/
Lib
/
test
/
test_future2.py
blob
79eb73179de1ecc43d4cd4e365ce586d7668d1f1
1
"""This is a test"""
2
3
from
__future__
import
nested_scopes
;
import
string
4
5
def
f
(
x
):
6
def
g
(
y
):
7
return
x
+
y
8
return
g
9
10
result
=
f
(
2
)(
4
)