summaryrefslogtreecommitdiffstats
path: root/lldb/examples/python/pytracer.py
diff options
context:
space:
mode:
authorSerge Guelton <sguelton@redhat.com>2019-03-21 14:47:40 +0000
committerSerge Guelton <sguelton@redhat.com>2019-03-21 14:47:40 +0000
commitce54fa1855befe5c1d0ac86fc361b848a487b0fb (patch)
treed594e0dbb6dbeaf4f45085a4e17ceb7b62cefa50 /lldb/examples/python/pytracer.py
parent468219b387af03c5465e01ea589cf5fcb2789b36 (diff)
downloadbcm5719-llvm-ce54fa1855befe5c1d0ac86fc361b848a487b0fb.tar.gz
bcm5719-llvm-ce54fa1855befe5c1d0ac86fc361b848a487b0fb.zip
Workaround items/iteritems difference between Python2 and Python3
Differential Revision: https://reviews.llvm.org/D59588 llvm-svn: 356673
Diffstat (limited to 'lldb/examples/python/pytracer.py')
-rw-r--r--lldb/examples/python/pytracer.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/lldb/examples/python/pytracer.py b/lldb/examples/python/pytracer.py
index a166f21e983..4d0d7b0d827 100644
--- a/lldb/examples/python/pytracer.py
+++ b/lldb/examples/python/pytracer.py
@@ -335,7 +335,7 @@ def g(x):
def print_keyword_args(**kwargs):
# kwargs is a dict of the keyword args passed to the function
- for key, value in kwargs.iteritems():
+ for key, value in kwargs.items():
print "%s = %s" % (key, value)
OpenPOWER on IntegriCloud