summaryrefslogtreecommitdiff
path: root/lab/run_trace.py
diff options
context:
space:
mode:
Diffstat (limited to 'lab/run_trace.py')
-rw-r--r--lab/run_trace.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/lab/run_trace.py b/lab/run_trace.py
index ea9d9bb4..27c24a1d 100644
--- a/lab/run_trace.py
+++ b/lab/run_trace.py
@@ -14,13 +14,13 @@ def trace(frame, event, arg):
# This can happen when Python is shutting down.
return None
- print "%s%s %s %d @%d" % (
+ print("%s%s %s %d @%d" % (
" " * nest,
event,
os.path.basename(frame.f_code.co_filename),
frame.f_lineno,
frame.f_lasti,
- )
+ ))
if event == 'call':
nest += 1