plan9fox/sys/lib/python/test/badsyntax_future6.py
2011-05-03 11:25:13 +00:00

10 lines
161 B
Python

"""This is a test"""
"this isn't a doc string"
from __future__ import nested_scopes
def f(x):
def g(y):
return x + y
return g
result = f(2)(4)