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