mirror of
https://github.com/python/cpython.git
synced 2025-08-03 16:39:00 +00:00
Remove sys.exc_type, sys.exc_value, sys.exc_traceback
This commit is contained in:
parent
fc85c92a85
commit
ac3625fcb9
16 changed files with 36 additions and 58 deletions
|
@ -1108,7 +1108,7 @@ class Misc:
|
|||
def _report_exception(self):
|
||||
"""Internal function."""
|
||||
import sys
|
||||
exc, val, tb = sys.exc_type, sys.exc_value, sys.exc_traceback
|
||||
exc, val, tb = sys.exc_info()
|
||||
root = self._root()
|
||||
root.report_callback_exception(exc, val, tb)
|
||||
def _configure(self, cmd, cnf, kw):
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue