badsyntax_future7.py 196 B

1234567891011
  1. """This is a test"""
  2. from __future__ import nested_scopes; import string; from __future__ import \
  3. nested_scopes
  4. def f(x):
  5. def g(y):
  6. return x + y
  7. return g
  8. result = f(2)(4)