Reflect change in traceback format:

"innermost last" --> "most recent call last"
This commit is contained in:
Fred Drake 2001-02-14 03:20:18 +00:00
parent 15ad28cf89
commit 162c6a637a
3 changed files with 14 additions and 14 deletions

View file

@ -48,7 +48,7 @@ Typical usage to inspect a crashed program is:
>>> import pdb
>>> import mymodule
>>> mymodule.test()
Traceback (innermost last):
Traceback (most recent call last):
File "<stdin>", line 1, in ?
File "./mymodule.py", line 4, in test
test2()

View file

@ -33,7 +33,7 @@ Print exception information and up to \var{limit} stack trace entries
from \var{traceback} to \var{file}.
This differs from \function{print_tb()} in the
following ways: (1) if \var{traceback} is not \code{None}, it prints a
header \samp{Traceback (innermost last):}; (2) it prints the
header \samp{Traceback (most recent call last):}; (2) it prints the
exception \var{type} and \var{value} after the stack trace; (3) if
\var{type} is \exception{SyntaxError} and \var{value} has the appropriate
format, it prints the line where the syntax error occurred with a