mirror of
https://github.com/python/cpython.git
synced 2025-08-30 05:35:08 +00:00
Make Traceback header conform to new traceback ("innermost last" ->
"most recent call last").
This commit is contained in:
parent
e0c182fb5f
commit
7dd06966cb
2 changed files with 2 additions and 2 deletions
|
@ -864,7 +864,7 @@ def print_exception(type=None, value=None, tb=None, limit=None):
|
|||
type, value, tb = sys.exc_info()
|
||||
import traceback
|
||||
print
|
||||
print "<H3>Traceback (innermost last):</H3>"
|
||||
print "<H3>Traceback (most recent call last):</H3>"
|
||||
list = traceback.format_tb(tb, limit) + \
|
||||
traceback.format_exception_only(type, value)
|
||||
print "<PRE>%s<B>%s</B></PRE>" % (
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue