view Lib/test/badsyntax_future9.py @ 83104:da0d7c05514b 3.3

Fix typo.
author Andrew Svetlov <andrew.svetlov@gmail.com>
date Fri, 05 Apr 2013 10:10:12 +0300
parents 4cdf21a0dbbc
children
line wrap: on
line source

"""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))