]> granicus.if.org Git - python/commit
#1326077: fix traceback formatting of SyntaxErrors. This fixes two differences with...
authorGeorg Brandl <georg@python.org>
Sun, 5 Apr 2009 14:24:52 +0000 (14:24 +0000)
committerGeorg Brandl <georg@python.org>
Sun, 5 Apr 2009 14:24:52 +0000 (14:24 +0000)
commitdc4a77159b26069ee8a3f67977899f57fd160c3d
treeba4f159e01766cea9a36909e3d7027ab5f500f3b
parent517cfdcfd9261bdaf34d054e3d2416abb9f9f930
#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.
Lib/test/test_traceback.py
Lib/traceback.py