Staging
v0.5.1
https://github.com/python/cpython
Raw File
Tip revision: bd18254b91272c2f0f0d98f66fdeca962ef1a901 authored by Ned Deily on 11 December 2019, 05:24:09 UTC
3.7.6rc1
Tip revision: bd18254
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