home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Maximum CD 2011 June
/
maximum-cd-2011-06.iso
/
DiscContents
/
LibO_3.3.1_Win_x86_install_multi.exe
/
libreoffice1.cab
/
test_future1.py
< prev
next >
Encoding:
Amiga
Atari
Commodore
DOS
FM Towns/JPY
Macintosh
Macintosh JP
Macintosh to JP
NeXTSTEP
RISC OS/Acorn
Shift JIS
UTF-8
Wrap
Python Source
|
2011-02-15
|
229 b
|
12 lines
"""This is a test"""
# Import the name nested_scopes twice to trigger SF bug #407394 (regression).
from __future__ import nested_scopes, nested_scopes
def f(x):
def g(y):
return x + y
return g
result = f(2)(4)