summaryrefslogtreecommitdiffstats
path: root/Lib/compiler
diff options
context:
space:
mode:
authorJeremy Hylton <jeremy@alum.mit.edu>2004-09-07 15:36:48 (GMT)
committerJeremy Hylton <jeremy@alum.mit.edu>2004-09-07 15:36:48 (GMT)
commit8f00a24229f372c9edc00eb5b17935334e891199 (patch)
treec3023a86377642ca127e89d0de39831c2b3f52a8 /Lib/compiler
parent195578a76e51f0b647f613950b7d59ee72312d70 (diff)
downloadcpython-8f00a24229f372c9edc00eb5b17935334e891199.zip
cpython-8f00a24229f372c9edc00eb5b17935334e891199.tar.gz
cpython-8f00a24229f372c9edc00eb5b17935334e891199.tar.bz2
Remove debugging print (not triggered by test suite) and add XXX comment about how the code should raise a SyntaxError.
Diffstat (limited to 'Lib/compiler')
-rw-r--r--Lib/compiler/transformer.py2
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