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_future1.py
blob
297c2e087c2e8d93864e9700f03dd38de12f45c6
1
"""This is a test"""
2
3
# Import the name nested_scopes twice to trigger SF bug #407394 (regression).
4
from
__future__
import
nested_scopes
,
nested_scopes
5
6
def
f
(
x
):
7
def
g
(
y
):
8
return
x
+
y
9
return
g
10
11
result
=
f
(
2
)(
4
)