summaryrefslogtreecommitdiffstats
path: root/Lib/lib-tk
diff options
context:
space:
mode:
authorNeal Norwitz <nnorwitz@gmail.com>2006-03-17 05:49:33 (GMT)
committerNeal Norwitz <nnorwitz@gmail.com>2006-03-17 05:49:33 (GMT)
commitac3625fcb95c2c54e40e1a27f2395811adbed03e (patch)
tree7ef987a510e3ad2e43ee67ca6854cd6af23673f9 /Lib/lib-tk
parentfc85c92a85e08d39ea769a07a3dc2a3c83c21477 (diff)
downloadcpython-ac3625fcb95c2c54e40e1a27f2395811adbed03e.zip
cpython-ac3625fcb95c2c54e40e1a27f2395811adbed03e.tar.gz
cpython-ac3625fcb95c2c54e40e1a27f2395811adbed03e.tar.bz2
Remove sys.exc_type, sys.exc_value, sys.exc_traceback
Diffstat (limited to 'Lib/lib-tk')
-rw-r--r--Lib/lib-tk/Tkinter.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/lib-tk/Tkinter.py b/Lib/lib-tk/Tkinter.py
index 37ddd3a..d600cd7 100644
--- a/Lib/lib-tk/Tkinter.py
+++ b/Lib/lib-tk/Tkinter.py
@@ -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):