summaryrefslogtreecommitdiffstats
path: root/Lib/idlelib/windows.py
diff options
context:
space:
mode:
Diffstat (limited to 'Lib/idlelib/windows.py')
-rw-r--r--Lib/idlelib/windows.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/Lib/idlelib/windows.py b/Lib/idlelib/windows.py
index bc74348..a3f858a 100644
--- a/Lib/idlelib/windows.py
+++ b/Lib/idlelib/windows.py
@@ -1,5 +1,6 @@
from tkinter import *
+
class WindowList:
def __init__(self):
@@ -48,6 +49,7 @@ class WindowList:
t, v, tb = sys.exc_info()
print("warning: callback failed in WindowList", t, ":", v)
+
registry = WindowList()
add_windows_to_menu = registry.add_windows_to_menu