python (3.11.7)

(root)/
lib/
python3.11/
test/
test_future_stmt/
badsyntax_future3.py
       1  """This is a test"""
       2  from __future__ import nested_scopes
       3  from __future__ import rested_snopes
       4  
       5  def f(x):
       6      def g(y):
       7          return x + y
       8      return g
       9  
      10  result = f(2)(4)