commit | dc4a77159b26069ee8a3f67977899f57fd160c3d | [log] [tgz] |
---|---|---|
author | Georg Brandl <georg@python.org> | Sun Apr 05 14:24:52 2009 +0000 |
committer | Georg Brandl <georg@python.org> | Sun Apr 05 14:24:52 2009 +0000 |
tree | ba4f159e01766cea9a36909e3d7027ab5f500f3b | |
parent | 517cfdcfd9261bdaf34d054e3d2416abb9f9f930 [diff] |
#1326077: fix traceback formatting of SyntaxErrors. This fixes two differences with formatting coming from Python: a) the reproduction of location details in the error message if no line text is given, b) the prefixing of the last line by one space.