Remove debugging print (not triggered by test suite) and add XXX comment about how the code should raise a SyntaxError.

This commit is contained in:
Jeremy Hylton 2004-09-07 15:36:48 +00:00
parent 195578a76e
commit 8f00a24229
1 changed files with 1 additions and 1 deletions

View File

@ -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