☰
Debian Codegraph
@
3.14.7-4
3.14.7-3
3.14.7-1
3.14.6-1
3.14.5-1
/
/
Lib
/
test
/
test_future_stmt
/
import_nested_scope_twice.py
☽
☼
Lib/test/test_future_stmt/import_nested_scope_twice.py
code
plain
raw
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)