view Lib/test/badsyntax_future8.py @ 79675:c0a2294de787 2.7

Issue #16199: Backport 2to3 typo fix from 3.2.
author Chris Jerdonek <chris.jerdonek@gmail.com>
date Thu, 11 Oct 2012 16:15:46 -0700
parents 47eaa38b29cb
children 4cdf21a0dbbc
line wrap: on
line source

"""This is a test"""

from __future__ import *

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

print f(2)(4)