Staging
v0.5.1
https://github.com/python/cpython
Raw File
Tip revision: 9a448855b51b264d678e3ba3c168034c221806e2 authored by Ɓukasz Langa on 25 March 2019, 19:36:40 UTC
v3.8.0a3
Tip revision: 9a44885
badsyntax_future5.py
"""This is a test"""
from __future__ import nested_scopes
import foo
from __future__ import nested_scopes


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

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