mirror of
https://github.com/python/cpython.git
synced 2025-08-01 07:33:08 +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>
10 lines
153 B
Python
10 lines
153 B
Python
"""This is a test"""
|
|
import __future__
|
|
from __future__ import nested_scopes
|
|
|
|
def f(x):
|
|
def g(y):
|
|
return x + y
|
|
return g
|
|
|
|
result = f(2)(4)
|