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_future8.py | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 sys/lib/python/test/badsyntax_future8.py (limited to 'sys/lib/python/test/badsyntax_future8.py') diff --git a/sys/lib/python/test/badsyntax_future8.py b/sys/lib/python/test/badsyntax_future8.py new file mode 100644 index 000000000..c167b0933 --- /dev/null +++ b/sys/lib/python/test/badsyntax_future8.py @@ -0,0 +1,10 @@ +"""This is a test""" + +from __future__ import * + +def f(x): + def g(y): + return x + y + return g + +print f(2)(4) -- cgit v1.2.3