view Lib/test/badsyntax_future8.py @ 37850:ebe59cd18273

Use explicit relative import for an, ehm, relative import.
author Thomas Wouters <thomas@python.org>
date Tue, 18 Apr 2006 21:41:36 +0000
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)