summaryrefslogtreecommitdiffstats
path: root/Lib/idlelib/stackviewer.py
diff options
context:
space:
mode:
Diffstat (limited to 'Lib/idlelib/stackviewer.py')
-rw-r--r--Lib/idlelib/stackviewer.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/idlelib/stackviewer.py b/Lib/idlelib/stackviewer.py
index 7b00c4c..4858cc6 100644
--- a/Lib/idlelib/stackviewer.py
+++ b/Lib/idlelib/stackviewer.py
@@ -99,7 +99,7 @@ class VariablesTreeItem(ObjectTreeItem):
def GetSubList(self):
sublist = []
- for key in self.object.keys():
+ for key in self.object.keys(): # self.object not necessarily dict.
try:
value = self.object[key]
except KeyError: