/Lib/test/badsyntax_future4.py
http://unladen-swallow.googlecode.com/ · Python · 10 lines · 7 code · 2 blank · 1 comment · 0 complexity · 498093b01ece971eb9a573e451f863b7 MD5 · raw file
- """This is a test"""
- import __future__
- from __future__ import nested_scopes
- def f(x):
- def g(y):
- return x + y
- return g
- result = f(2)(4)