source: python/trunk/Lib/test/badsyntax_future3.py

Last change on this file was 2, checked in by Yuri Dario, 15 years ago

Initial import for vendor code.

  • Property svn:eol-style set to native
File size: 172 bytes
Line 
1"""This is a test"""
2from __future__ import nested_scopes
3from __future__ import rested_snopes
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.