Staging
v0.5.1
https://github.com/python/cpython
Raw File
Tip revision: db455296be5f792b8c12b7cd7f3962b52e4f44ee authored by Ɓukasz Langa on 23 September 2020, 12:36:32 UTC
Python 3.8.6
Tip revision: db45529
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