summaryrefslogtreecommitdiff
path: root/Lib/code.py
diff options
context:
space:
mode:
Diffstat (limited to 'Lib/code.py')
-rw-r--r--Lib/code.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/code.py b/Lib/code.py
index 8d3a884263..8532a2eeb9 100644
--- a/Lib/code.py
+++ b/Lib/code.py
@@ -107,7 +107,7 @@ class InteractiveInterpreter:
self.showtraceback()
else:
if softspace(sys.stdout, 0):
- print
+ print()
def showsyntaxerror(self, filename=None):
"""Display the syntax error that just occurred.