Staging
v0.5.1
https://github.com/python/cpython
Raw File
Tip revision: 4e7efa9c6f3518c4dd4c332cf7929168e7d44e25 authored by Ned Deily on 29 March 2018, 11:57:55 UTC
3.7.0b3
Tip revision: 4e7efa9
badsyntax_future4.py
"""This is a test"""
import __future__
from __future__ import nested_scopes

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

result = f(2)(4)
back to top