Initial commit of OpenSPARC T2 architecture model.
[OpenSPARC-T2-SAM] / sam-t2 / devtools / v8plus / lib / python2.4 / test / badsyntax_future7.py
CommitLineData
920dae64
AT
1"""This is a test"""
2
3from __future__ import nested_scopes; import string; from __future__ import \
4 nested_scopes
5
6def f(x):
7 def g(y):
8 return x + y
9 return g
10
11result = f(2)(4)