Staging
v0.5.1
https://github.com/python/cpython
Raw File
Tip revision: 9a3ffc0492d1310ead9ce8f5ee678c26b20a338d authored by Ned Deily on 23 December 2018, 21:37:36 UTC
3.7.2final
Tip revision: 9a3ffc0
badsyntax_future3.py
"""This is a test"""
from __future__ import nested_scopes
from __future__ import rested_snopes

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

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