view Lib/test/test_future3.py @ 24042:63fbbed10714 legacy-trunk

Simplify HTTPSConnection constructor. See discussion in SF bug 458463.
author Jeremy Hylton <jeremy@alum.mit.edu>
date Fri, 28 Jun 2002 23:38:14 +0000
parents bc9c8cebc2ef
children 1a42b128c581
line wrap: on
line source

from __future__ import nested_scopes
from __future__ import division
from __future__ import nested_scopes

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


print f(2)(5)