mirror of
https://github.com/python/cpython.git
synced 2024-12-25 09:44:37 +08:00
576483085c
Patch by Sandro Tosi.
11 lines
149 B
Python
11 lines
149 B
Python
"""This is a test"""
|
|
|
|
from __future__ import nested_scopes; import site
|
|
|
|
def f(x):
|
|
def g(y):
|
|
return x + y
|
|
return g
|
|
|
|
result = f(2)(4)
|