mirror of
https://github.com/python/cpython.git
synced 2024-12-01 05:45:40 +08:00
18da1e1e7f
a module.
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)
|