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