Staging
v0.5.1
https://github.com/python/cpython
Raw File
Tip revision: 777ba072d61f50cc39427ae87ab63eb3d3d88542 authored by Ɓukasz Langa on 17 February 2020, 22:45:14 UTC
Python 3.8.2rc2
Tip revision: 777ba07
badsyntax_future8.py
"""This is a test"""

from __future__ import *

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

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