Commit 8f00a242 authored by Jeremy Hylton's avatar Jeremy Hylton

Remove debugging print (not triggered by test suite) and add XXX comment about...

Remove debugging print (not triggered by test suite) and add XXX comment about how the code should raise a SyntaxError.
parent 195578a7
......@@ -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
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment