summaryrefslogtreecommitdiffstats
path: root/Lib/compiler/syntax.py
diff options
context:
space:
mode:
Diffstat (limited to 'Lib/compiler/syntax.py')
-rw-r--r--Lib/compiler/syntax.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/compiler/syntax.py b/Lib/compiler/syntax.py
index a45d9c2..6187b47 100644
--- a/Lib/compiler/syntax.py
+++ b/Lib/compiler/syntax.py
@@ -32,7 +32,7 @@ class SyntaxErrorChecker:
def error(self, node, msg):
self.errors = self.errors + 1
if self.multi is not None:
- print "%s:%s: %s" % (node.filename, node.lineno, msg)
+ print("%s:%s: %s" % (node.filename, node.lineno, msg))
else:
raise SyntaxError, "%s (%s:%s)" % (msg, node.filename, node.lineno)