mirror of
https://github.com/python/cpython.git
synced 2025-07-08 03:45:36 +00:00
gh-102778: Add sys.last_exc, deprecate sys.last_type, sys.last_value,sys.last_traceback (#102779)
This commit is contained in:
parent
039714d00f
commit
e1e9bab006
22 changed files with 103 additions and 36 deletions
|
@ -4799,7 +4799,7 @@ topics = {'assert': 'The "assert" statement\n'
|
|||
'pdb.pm()\n'
|
||||
'\n'
|
||||
' Enter post-mortem debugging of the traceback found in\n'
|
||||
' "sys.last_traceback".\n'
|
||||
' "sys.last_exc".\n'
|
||||
'\n'
|
||||
'The "run*" functions and "set_trace()" are aliases for '
|
||||
'instantiating\n'
|
||||
|
@ -13858,7 +13858,7 @@ topics = {'assert': 'The "assert" statement\n'
|
|||
'if\n'
|
||||
' the interpreter is interactive, it is also made available to '
|
||||
'the\n'
|
||||
' user as "sys.last_traceback".\n'
|
||||
' user as "sys.last_exc".\n'
|
||||
'\n'
|
||||
' For explicitly created tracebacks, it is up to the creator '
|
||||
'of\n'
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue