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)
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)
_______________________________________________ lldb-commits mailing list lldb-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits