Staging
v0.5.1
https://github.com/python/cpython
Raw File
Tip revision: 5c02a39a0b31a330e06b4d6f44835afb205dc7cc authored by Ned Deily on 14 October 2019, 22:32:36 UTC
3.7.5
Tip revision: 5c02a39
badsyntax_future7.py
"""This is a test"""

from __future__ import nested_scopes; import string; from __future__ import \
     nested_scopes

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

result = f(2)(4)
back to top