mirror of
https://github.com/python/cpython.git
synced 2025-08-04 00:48:58 +00:00
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
1 changed files with 1 additions and 1 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue