From 458120dd40db6b4df55a4e96b650e16798ef06a0 Mon Sep 17 00:00:00 2001 From: cinap_lenrek Date: Tue, 3 May 2011 11:25:13 +0000 Subject: add hg and python --- sys/lib/python/test/badsyntax_future4.py | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 sys/lib/python/test/badsyntax_future4.py (limited to 'sys/lib/python/test/badsyntax_future4.py') diff --git a/sys/lib/python/test/badsyntax_future4.py b/sys/lib/python/test/badsyntax_future4.py new file mode 100644 index 000000000..b5f4c98e9 --- /dev/null +++ b/sys/lib/python/test/badsyntax_future4.py @@ -0,0 +1,10 @@ +"""This is a test""" +import __future__ +from __future__ import nested_scopes + +def f(x): + def g(y): + return x + y + return g + +result = f(2)(4) -- cgit v1.2.3