From 8f00a24229f372c9edc00eb5b17935334e891199 Mon Sep 17 00:00:00 2001 From: Jeremy Hylton Date: Tue, 7 Sep 2004 15:36:48 +0000 Subject: [PATCH] Remove debugging print (not triggered by test suite) and add XXX comment about how the code should raise a SyntaxError. --- Lib/compiler/transformer.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Lib/compiler/transformer.py b/Lib/compiler/transformer.py index 9d2f37812e..756e565320 100644 --- a/Lib/compiler/transformer.py +++ b/Lib/compiler/transformer.py @@ -811,8 +811,8 @@ class Transformer: defaults.append(self.com_node(nodelist[i + 1])) i = i + 2 elif len(defaults): + # XXX This should be a syntax error. # Treat "(a=1, b)" as "(a=1, b=None)" - print nodelist[i] defaults.append(Const(None)) i = i + 1 -- 2.50.1