mirror of
https://github.com/python/cpython.git
synced 2025-12-15 21:44:50 +00:00
Reflect change in traceback format:
"innermost last" --> "most recent call last"
This commit is contained in:
parent
15ad28cf89
commit
162c6a637a
3 changed files with 14 additions and 14 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue