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

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

Python 2.5

File size: 184 bytes
Line 
1"""This is a test"""
2from __future__ import nested_scopes
3import foo
4from __future__ import nested_scopes
5
6
7def f(x):
8 def g(y):
9 return x + y
10 return g
11
12result = f(2)(4)
Note: See TracBrowser for help on using the repository browser.