summaryrefslogtreecommitdiffstats
path: root/Lib/idlelib/WindowList.py
diff options
context:
space:
mode:
Diffstat (limited to 'Lib/idlelib/WindowList.py')
-rw-r--r--Lib/idlelib/WindowList.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/idlelib/WindowList.py b/Lib/idlelib/WindowList.py
index fc463b8..28b55b8 100644
--- a/Lib/idlelib/WindowList.py
+++ b/Lib/idlelib/WindowList.py
@@ -20,7 +20,7 @@ class WindowList:
def add_windows_to_menu(self, menu):
list = []
- for key in self.dict.keys():
+ for key in self.dict:
window = self.dict[key]
try:
title = window.get_title()