]> granicus.if.org Git - python/commitdiff
Make Traceback header conform to new traceback ("innermost last" ->
authorGuido van Rossum <guido@python.org>
Wed, 27 Dec 2000 19:12:58 +0000 (19:12 +0000)
committerGuido van Rossum <guido@python.org>
Wed, 27 Dec 2000 19:12:58 +0000 (19:12 +0000)
"most recent call last").

Lib/cgi.py
Lib/code.py

index d4c55b73e11eaefa4b93f82f01436a940eaa66fb..345c8a199ed5d312bf3e75f041f36f9358b8dae1 100755 (executable)
@@ -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>" % (
index 5f65b7c9946b3b6c1118c21152f0edc9a6844635..9ef632273136779c74711847cef552082910d08f 100644 (file)
@@ -141,7 +141,7 @@ class InteractiveInterpreter:
             del tblist[:1]
             list = traceback.format_list(tblist)
             if list:
-                list.insert(0, "Traceback (innermost last):\n")
+                list.insert(0, "Traceback (most recent call last):\n")
             list[len(list):] = traceback.format_exception_only(type, value)
         finally:
             tblist = tb = None