summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xLib/idlelib/pyshell.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/Lib/idlelib/pyshell.py b/Lib/idlelib/pyshell.py
index 3141b47..6028700 100755
--- a/Lib/idlelib/pyshell.py
+++ b/Lib/idlelib/pyshell.py
@@ -1369,11 +1369,11 @@ class PyShell(OutputWindow):
from idlelib.stackviewer import StackBrowser
try:
- StackBrowser(self.root, sys.last_value, self.flist)
+ StackBrowser(self.root, sys.last_exc, self.flist)
except:
messagebox.showerror("No stack trace",
"There is no stack trace yet.\n"
- "(sys.last_value is not defined)",
+ "(sys.last_exc is not defined)",
parent=self.text)
return None