badsyntax_future6.py 161 B

12345678910
  1. """This is a test"""
  2. "this isn't a doc string"
  3. from __future__ import nested_scopes
  4. def f(x):
  5. def g(y):
  6. return x + y
  7. return g
  8. result = f(2)(4)