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:
parent
195578a76e
commit
8f00a24229
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue