Staging
v0.5.1
https://github.com/python/cpython
Raw File
Tip revision: f5069b2f62ee8d7beb6b56d0ce38a5b1e8b01f8d authored by cvs2svn on 14 October 2002, 20:11:50 UTC
This commit was manufactured by cvs2svn to create tag 'r222'.
Tip revision: f5069b2
test_future3.py
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)
back to top