From d29fed213caccc7bf2f66ed7a11b94b4bbcac3d1 Mon Sep 17 00:00:00 2001 From: Timotej Lazar Date: Thu, 6 Oct 2016 14:40:16 +0200 Subject: Python: add support for auxiliary code (like for Prolog) --- python/common.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'python/common.py') diff --git a/python/common.py b/python/common.py index a07b87e..36896e1 100644 --- a/python/common.py +++ b/python/common.py @@ -19,7 +19,7 @@ hint_type = { 'no_func_name': Hint('no_func_name') } -def hint(python, program): +def hint(python, program, aux_code=''): # Check program for syntax errors. try: tree = ast.parse(program, filename='user') -- cgit v1.2.1