view Lib/test/badsyntax_future9.py @ 71607:df415bfbb652 2.7

Document that atexit execution order is undefined (#9788)
author Éric Araujo <merwok@netwok.org>
date Fri, 29 Jul 2011 18:04:24 +0200
parents 47eaa38b29cb
children 4cdf21a0dbbc
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)