mirror of
https://github.com/python/cpython.git
synced 2024-11-28 04:15:11 +08:00
minor tweak (jvr)
This commit is contained in:
parent
73efed21e8
commit
ae787185df
@ -21,7 +21,7 @@ class TraceBack:
|
||||
try:
|
||||
self.lastwindowtitle = lastwindowtitle
|
||||
self.start = start
|
||||
self.type, self.value, self.tb = sys.exc_type, sys.exc_value, sys.exc_traceback
|
||||
self.type, self.value, self.tb = sys.exc_info()
|
||||
if self.type is not SyntaxError:
|
||||
self.show()
|
||||
if type(self.type) == types.ClassType:
|
||||
|
Loading…
Reference in New Issue
Block a user