mirror of
https://github.com/python/cpython.git
synced 2025-07-23 11:15:24 +00:00
minor tweak (jvr)
This commit is contained in:
parent
73efed21e8
commit
ae787185df
1 changed files with 1 additions and 1 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue