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

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

"""This is a test"""

from __future__ import nested_scopes; import string; from __future__ import \
     nested_scopes

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

result = f(2)(4)