diff options
Diffstat (limited to 'Demo/parser/test_parser.py')
-rwxr-xr-x | Demo/parser/test_parser.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Demo/parser/test_parser.py b/Demo/parser/test_parser.py index be39bca..1589f3b 100755 --- a/Demo/parser/test_parser.py +++ b/Demo/parser/test_parser.py @@ -17,7 +17,7 @@ def testChunk(t, fileName): # against a large source file like Tkinter.py. ast = None new = parser.tuple2ast(tup) - except parser.ParserError, err: + except parser.ParserError as err: print print 'parser module raised exception on input file', fileName + ':' traceback.print_exc() |