Gitiles
Code Review
Sign In
gerrit-public.fairphone.software
/
platform
/
external
/
python
/
cpython3
/
41d13f61d289a16eb27675e6ed5be8427be743ac
/
.
/
Lib
/
test
/
test_future1.py
blob: 297c2e087c2e8d93864e9700f03dd38de12f45c6 [
file
] [
log
] [
blame
]
"""This is a test"""
# Import the name nested_scopes twice to trigger SF bug #407394 (regression).
from
__future__
import
nested_scopes
,
nested_scopes
def
f
(
x
):
def
g
(
y
):
return
x
+
y
return
g
result
=
f
(
2
)(
4
)