Staging
v0.5.1
https://github.com/python/cpython
Raw File
Tip revision: ffccaa40fa237f4afc9eec87c78a98356f9f6e77 authored by Larry Hastings on 06 December 2015, 01:05:23 UTC
Version bump for 3.5.1 final.
Tip revision: ffccaa4
badsyntax_future9.py
"""This is a test"""

from __future__ import nested_scopes, braces

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

print(f(2)(4))
back to top