FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

Make Traceback header conform to new traceback ("innermost last" -> · python/cpython@7dd0696 · GitHub

Repository navigation

Commit 7dd0696

Browse files
committed
Make Traceback header conform to new traceback ("innermost last" ->
"most recent call last").
1 parent e0c182f commit 7dd0696

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

‎Lib/cgi.py‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -864,7 +864,7 @@ def print_exception(type=None, value=None, tb=None, limit=None):
864864
type, value, tb = sys.exc_info()
865865
import traceback
866866
print
867-
print "<H3>Traceback (innermost last):</H3>"
867+
print "<H3>Traceback (most recent call last):</H3>"
868868
list = traceback.format_tb(tb, limit) + \
869869
traceback.format_exception_only(type, value)
870870
print "<PRE>%s<B>%s</B></PRE>" % (

‎Lib/code.py‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -141,7 +141,7 @@ def showtraceback(self):
141141
del tblist[:1]
142142
list = traceback.format_list(tblist)
143143
if list:
144-
list.insert(0, "Traceback (innermost last):\n")
144+
list.insert(0, "Traceback (most recent call last):\n")
145145
list[len(list):] = traceback.format_exception_only(type, value)
146146
finally:
147147
tblist = tb = None

0 commit comments

Comments
 (0)

Back | FazBrowse Home | New Git URL