diff options
-rw-r--r-- | Lib/compiler/transformer.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/compiler/transformer.py b/Lib/compiler/transformer.py index 9d2f378..756e565 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 |