summaryrefslogtreecommitdiffstats
path: root/lldb/examples/python/jump.py
diff options
context:
space:
mode:
authorSerge Guelton <sguelton@redhat.com>2019-03-21 18:27:40 +0000
committerSerge Guelton <sguelton@redhat.com>2019-03-21 18:27:40 +0000
commit525cd59f5a12254e80d5f20bf2d9713728a114d4 (patch)
treebb174d21b449a016712aa1867fdbdff781b34b15 /lldb/examples/python/jump.py
parent05ea3a6be3ba172e8824a8fb66b799b3cc2c72f3 (diff)
downloadbcm5719-llvm-525cd59f5a12254e80d5f20bf2d9713728a114d4.tar.gz
bcm5719-llvm-525cd59f5a12254e80d5f20bf2d9713728a114d4.zip
Python 2/3 compatibility: from __future__ import print_function
Differential Revision: https://reviews.llvm.org/D59580 llvm-svn: 356695
Diffstat (limited to 'lldb/examples/python/jump.py')
-rw-r--r--lldb/examples/python/jump.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/lldb/examples/python/jump.py b/lldb/examples/python/jump.py
index e33a6a6f369..dc4cc48b144 100644
--- a/lldb/examples/python/jump.py
+++ b/lldb/examples/python/jump.py
@@ -1,3 +1,5 @@
+from __future__ import print_function
+
import lldb
import re
@@ -193,4 +195,4 @@ if lldb.debugger:
# Module is being run inside the LLDB interpreter
jump.__doc__ = usage_string()
lldb.debugger.HandleCommand('command script add -f jump.jump jump')
- print 'The "jump" command has been installed, type "help jump" or "jump <ENTER>" for detailed help.'
+ print('The "jump" command has been installed, type "help jump" or "jump <ENTER>" for detailed help.')
OpenPOWER on IntegriCloud