[Lldb-commits] [PATCH] D59588: Python 2/3 compat: iteritems vs items
Phabricator via Phabricator via lldb-commits
lldb-commits at lists.llvm.org
Thu Mar 21 07:46:35 PDT 2019
This revision was automatically updated to reflect the committed changes.
Closed by commit rLLDB356673: Workaround items/iteritems difference between Python2 and Python3 (authored by serge_sans_paille, committed by ).
Changed prior to commit:
https://reviews.llvm.org/D59588?vs=191452&id=191693#toc
Repository:
rLLDB LLDB
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D59588/new/
https://reviews.llvm.org/D59588
Files:
examples/python/pytracer.py
Index: examples/python/pytracer.py
===================================================================
--- examples/python/pytracer.py
+++ examples/python/pytracer.py
@@ -335,7 +335,7 @@
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)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D59588.191693.patch
Type: text/x-patch
Size: 417 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/lldb-commits/attachments/20190321/94f3cb0e/attachment-0001.bin>
More information about the lldb-commits
mailing list