[Lldb-commits] [PATCH] D59588: Python 2/3 compat: iteritems vs items

serge via Phabricator via lldb-commits lldb-commits at lists.llvm.org
Wed Mar 20 00:31:20 PDT 2019


serge-sans-paille created this revision.
serge-sans-paille added a reviewer: michaelplatings.
Herald added subscribers: lldb-commits, jdoerfert.
Herald added a project: LLDB.

Repository:
  rLLDB LLDB

https://reviews.llvm.org/D59588

Files:
  lldb/examples/python/pytracer.py


Index: lldb/examples/python/pytracer.py
===================================================================
--- lldb/examples/python/pytracer.py
+++ lldb/examples/python/pytracer.py
@@ -339,7 +339,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.191452.patch
Type: text/x-patch
Size: 433 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/lldb-commits/attachments/20190320/3b16aac2/attachment.bin>


More information about the lldb-commits mailing list