From: Miss Islington (bot) <31488909+miss-islington@users.noreply.github.com> Date: Tue, 26 Jun 2018 01:42:09 +0000 (-0700) Subject: bpo-33924: Add missed mac-specific 'windows' to 'window' changes (GH-7920) X-Git-Tag: v3.6.7rc1~243 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=c6040638aa1537709add895d24cdbbb9ee310fde;p=python bpo-33924: Add missed mac-specific 'windows' to 'window' changes (GH-7920) These should have been included in PR 7836. (cherry picked from commit 42397731d7ba8bdf63025d48008d133cb2070229) Co-authored-by: Mark Roseman --- 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."