aboutsummaryrefslogtreecommitdiff
path: root/python/step1_read_print.py
diff options
context:
space:
mode:
Diffstat (limited to 'python/step1_read_print.py')
-rw-r--r--python/step1_read_print.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/python/step1_read_print.py b/python/step1_read_print.py
index 0315cf0..7c5b7d8 100644
--- a/python/step1_read_print.py
+++ b/python/step1_read_print.py
@@ -27,4 +27,4 @@ while True:
print(REP(line))
except reader.Blank: continue
except Exception as e:
- print "".join(traceback.format_exception(*sys.exc_info()))
+ print("".join(traceback.format_exception(*sys.exc_info())))