Initial commit of OpenSPARC T2 architecture model.
[OpenSPARC-T2-SAM] / sam-t2 / devtools / amd64 / lib / python2.4 / test / badsyntax_future6.py
CommitLineData
920dae64
AT
1"""This is a test"""
2"this isn't a doc string"
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)