]> git.proxmox.com Git - mirror_edk2.git/blame - AppPkg/Applications/Python/Python-2.7.2/Lib/test/test_future1.py
EmbeddedPkg: Extend NvVarStoreFormattedLib LIBRARY_CLASS
[mirror_edk2.git] / AppPkg / Applications / Python / Python-2.7.2 / Lib / test / test_future1.py
CommitLineData
4710c53d 1"""This is a test"""\r
2\r
3# Import the name nested_scopes twice to trigger SF bug #407394 (regression).\r
4from __future__ import nested_scopes, nested_scopes\r
5\r
6def f(x):\r
7 def g(y):\r
8 return x + y\r
9 return g\r
10\r
11result = f(2)(4)\r