Staging
v0.5.1
https://github.com/python/cpython
Raw File
Tip revision: e09359112e250268eca209355abeb17abf822486 authored by Ned Deily on 08 July 2019, 18:03:50 UTC
3.7.4 final
Tip revision: e093591
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