Staging
v0.5.1
https://github.com/python/cpython
Raw File
Tip revision: 7b3ab5921fa25ed8b97b6296f97c5c78aacf5447 authored by Ɓukasz Langa on 24 February 2020, 21:36:25 UTC
Python 3.8.2
Tip revision: 7b3ab59
badsyntax_future9.py
"""This is a test"""

from __future__ import nested_scopes, braces

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

print(f(2)(4))
back to top