Staging
v0.5.1
https://github.com/python/cpython
Raw File
Tip revision: c0a9afe2ac1820409e6173bd1893ebee2cf50270 authored by Ned Deily on 15 August 2020, 06:43:26 UTC
3.6.12
Tip revision: c0a9afe
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