Staging
v0.5.1
https://github.com/python/cpython
Raw File
Tip revision: 75a402a2176c3baa5f48aa0e176507f1bac20cda authored by Ned Deily on 11 December 2018, 21:46:13 UTC
3.7.2rc1
Tip revision: 75a402a
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