diff -r 45627d092846 -r 2e6a880670e9 DebugClients/Python3/DebugUtilities.py --- a/DebugClients/Python3/DebugUtilities.py Wed Nov 04 15:38:02 2015 +0100 +++ b/DebugClients/Python3/DebugUtilities.py Wed Nov 04 16:25:25 2015 +0100 @@ -44,7 +44,7 @@ @exception TypeError raised if the input parameter is not a frame object """ if not isframe(frame): - raise TypeError('{!r} is not a frame object'.format(frame)) + raise TypeError('{0!r} is not a frame object'.format(frame)) args, varargs, kwonlyargs, varkw = _getfullargs(frame.f_code) return ArgInfo(args + kwonlyargs, varargs, varkw, frame.f_locals) @@ -63,7 +63,7 @@ @exception TypeError raised if the input parameter is not a code object """ if not iscode(co): - raise TypeError('{!r} is not a code object'.format(co)) + raise TypeError('{0!r} is not a code object'.format(co)) nargs = co.co_argcount names = co.co_varnames @@ -122,3 +122,6 @@ if '__return__' in locals: argvalues += " -> " + formatvalue(locals['__return__']) return argvalues + +# +# eflag: noqa = M702