Staging
v0.5.1
https://github.com/python/cpython
Revision b2742ba5f9ce8a6108202e0645662f2b58da423b authored by Serhiy Storchaka on 05 December 2018, 22:02:10 UTC, committed by GitHub on 05 December 2018, 22:02:10 UTC
(cherry picked from commit 67a93b3a0b3814e97ef9d077b21325fc8ce351b2)
1 parent abe74fe
Raw File
Tip revision: b2742ba5f9ce8a6108202e0645662f2b58da423b authored by Serhiy Storchaka on 05 December 2018, 22:02:10 UTC
[2.7] bpo-34738: Add directory entries in ZIP files created by distutils. (GH-9419). (GH-10950)
Tip revision: b2742ba
badsyntax_future9.py
"""This is a test"""

from __future__ import nested_scopes, braces

def f(x):
    def g(y):
        return x + y
    return g

print f(2)(4)
back to top