Staging
v0.5.1
https://github.com/python/cpython
Raw File
Tip revision: 311101f7b6d71d634382cdd943ef3dfcb402aa93 authored by Ned Deily on 26 September 2018, 06:35:30 UTC
3.6.7rc1
Tip revision: 311101f
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