Staging
v0.5.1
https://github.com/python/cpython
Raw File
Tip revision: 6c06ef7dc310039361f931162857003548658cde authored by Ned Deily on 13 October 2018, 07:01:13 UTC
3.7.1rc2
Tip revision: 6c06ef7
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