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_future7.py | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 sys/lib/python/test/badsyntax_future7.py (limited to 'sys/lib/python/test/badsyntax_future7.py') diff --git a/sys/lib/python/test/badsyntax_future7.py b/sys/lib/python/test/badsyntax_future7.py new file mode 100644 index 000000000..131db2c21 --- /dev/null +++ b/sys/lib/python/test/badsyntax_future7.py @@ -0,0 +1,11 @@ +"""This is a test""" + +from __future__ import nested_scopes; import string; from __future__ import \ + nested_scopes + +def f(x): + def g(y): + return x + y + return g + +result = f(2)(4) -- cgit v1.2.3