source: trunk/essentials/dev-lang/python/Lib/test/badsyntax_future6.py@ 3326

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

Python 2.5

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