Staging
v0.5.1
https://github.com/python/cpython
Raw File
Tip revision: f59c0932b4e160f279fb98de4cdad2f58269e0a5 authored by Ned Deily on 28 March 2018, 09:19:31 UTC
3.6.5final
Tip revision: f59c093
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