mirror of
https://github.com/python/cpython.git
synced 2025-07-31 23:23:11 +00:00

gh-108303: Move `test_future` into its own test_future_stmt subdir (#109368)
(cherry picked from commit 82505dc351
)
Co-authored-by: Nikita Sobolev <mail@sobolevn.me>
11 lines
196 B
Python
11 lines
196 B
Python
"""This is a test"""
|
|
|
|
from __future__ import nested_scopes; import string; from __future__ import \
|
|
nested_scopes
|
|
|
|
def f(x):
|
|
def g(y):
|
|
return x + y
|
|
return g
|
|
|
|
result = f(2)(4)
|