hanchenye-llvm-project/lldb/examples
Zachary Turner c07138f6a0 Python 3 - modernize exception catching syntax.
Old-style syntax:  `except Exception, e:`
New-style syntax:  `except Exception as e:`

These two statements are identical, except that the former has
been deprecated for may versions, and was removed in Python 3.

This converts everything to use the new syntax (which also works
in Python 2).  I had to convert unittest2 as well.  What we really
need to do is just delete unittest2, and use unittest instead since
it is a standard module that ships with every Python distribution.
But this is the path of least resistance for now, although at
some point we will really need to do it.

llvm-svn: 251968
2015-11-03 19:49:05 +00:00
..
customization
darwin/heap_find Fix typos. 2015-07-22 00:16:02 +00:00
functions
interposing/darwin/fd_interposing
lookup
plugins/commands
python Fix typos. 2015-09-22 05:07:56 +00:00
scripting
summaries Py3'ify some of the examples that get run at startup. 2015-10-19 17:35:02 +00:00
synthetic Python 3 - modernize exception catching syntax. 2015-11-03 19:49:05 +00:00
test