summaryrefslogtreecommitdiffstats
path: root/Lib/idlelib/debugobj.py
diff options
context:
space:
mode:
Diffstat (limited to 'Lib/idlelib/debugobj.py')
-rw-r--r--Lib/idlelib/debugobj.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/Lib/idlelib/debugobj.py b/Lib/idlelib/debugobj.py
index 71d01c7..032b686 100644
--- a/Lib/idlelib/debugobj.py
+++ b/Lib/idlelib/debugobj.py
@@ -93,7 +93,8 @@ class SequenceTreeItem(ObjectTreeItem):
class DictTreeItem(SequenceTreeItem):
def keys(self):
- keys = list(self.object.keys())
+ # TODO return sorted(self.object)
+ keys = list(self.object)
try:
keys.sort()
except: