source: vendor/python/2.5/Lib/test/badsyntax_future4.py

Last change on this file was 3225, checked in by bird, 19 years ago

Python 2.5

File size: 153 bytes
Line 
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)
Note: See TracBrowser for help on using the repository browser.