From 42397731d7ba8bdf63025d48008d133cb2070229 Mon Sep 17 00:00:00 2001 From: Mark Roseman Date: Mon, 25 Jun 2018 18:19:40 -0700 Subject: [PATCH] bpo-33924: Add missed mac-specific 'windows' to 'window' changes (GH-7920) These should have been included in PR 7836. --- Lib/idlelib/macosx.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Lib/idlelib/macosx.py b/Lib/idlelib/macosx.py index a2260af6e7..d3ae224100 100644 --- a/Lib/idlelib/macosx.py +++ b/Lib/idlelib/macosx.py @@ -158,8 +158,8 @@ def overrideRootMenu(root, flist): if end > 0: menu.delete(0, end) - windows.add_windows_to_menu(menu) - windows.register_callback(postwindowsmenu) + window.add_windows_to_menu(menu) + window.register_callback(postwindowsmenu) def about_dialog(event=None): "Handle Help 'About IDLE' event." -- 2.40.0