Staging
v0.5.1
https://github.com/python/cpython
Raw File
Tip revision: 260ec2c36abd73bac51489108409160427979ede authored by Ned Deily on 20 October 2018, 06:04:19 UTC
3.7.1final
Tip revision: 260ec2c
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