mirror of
https://github.com/python/cpython.git
synced 2025-08-04 00:48:58 +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
|
@ -45,8 +45,8 @@ class WindowList:
|
|||
try:
|
||||
callback()
|
||||
except:
|
||||
print "warning: callback failed in WindowList", \
|
||||
sys.exc_type, ":", sys.exc_value
|
||||
t, v, tb = sys.exc_info()
|
||||
print "warning: callback failed in WindowList", t, ":", v
|
||||
|
||||
registry = WindowList()
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue