badsyntax_future9.py 141 B

12345678910
  1. """This is a test"""
  2. from __future__ import nested_scopes, braces
  3. def f(x):
  4. def g(y):
  5. return x + y
  6. return g
  7. print f(2)(4)