mirror of https://github.com/python/cpython
12 lines
182 B
Python
12 lines
182 B
Python
|
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)
|