view Lib/test/badsyntax_future8.py @ 84007:dbfbdf2b5c19 3.3

Fix #17967: For ftp urls CWD to target instead of hopping to each directory towards target. This fixes a bug where target is accessible, but parent directories are restricted.
author Senthil Kumaran <senthil@uthcode.com>
date Sat, 01 Jun 2013 08:27:06 -0700
parents 4cdf21a0dbbc
children
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))