From bfbaa6b206abdb8b1c3861926f4334b879ec91cc Mon Sep 17 00:00:00 2001 From: Terry Jan Reedy Date: Wed, 31 Aug 2016 00:50:55 -0400 Subject: Issue #27891: Consistently group and sort imports within idlelib modules. --- Lib/idlelib/windows.py | 2 ++ 1 file changed, 2 insertions(+) (limited to 'Lib/idlelib/windows.py') diff --git a/Lib/idlelib/windows.py b/Lib/idlelib/windows.py index bc74348f56..a3f858aa73 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 -- cgit v1.2.1