projects
/
OpenSPARC-T2-SAM
/ blame
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
tags
|
clone url
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
blob
|
blame
(incremental) |
history
|
HEAD
In legion build config, updated path to GNU tools and updated deprecated Sun CC flag...
[OpenSPARC-T2-SAM]
/
sam-t2
/
devtools
/
v9
/
lib
/
python2.4
/
test
/
test_future1.py
Commit
Line
Data
920dae64
AT
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)