From: Jeremy Hylton Date: Tue, 7 Sep 2004 15:36:48 +0000 (+0000) Subject: Remove debugging print (not triggered by test suite) and add XXX comment about how... X-Git-Tag: v2.4b1~327 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=8f00a24229f372c9edc00eb5b17935334e891199;p=python Remove debugging print (not triggered by test suite) and add XXX comment about how the code should raise a SyntaxError. --- 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