[Python-checkins] bpo-33924: Add missed mac-specific 'windows' to 'window' changes (GH-7920)

Miss Islington (bot) webhook-mailer at python.org
Mon Jun 25 21:37:50 EDT 2018


https://github.com/python/cpython/commit/ee60e36fbf640e9e2ab6cd26821aad5d90529d96
commit: ee60e36fbf640e9e2ab6cd26821aad5d90529d96
branch: 3.7
author: Miss Islington (bot) <31488909+miss-islington at users.noreply.github.com>
committer: GitHub <noreply at github.com>
date: 2018-06-25T18:37:46-07:00
summary:

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 <mark at markroseman.com>

files:
M Lib/idlelib/macosx.py

diff --git a/Lib/idlelib/macosx.py b/Lib/idlelib/macosx.py
index a2260af6e753..d3ae224100cf 100644
--- a/Lib/idlelib/macosx.py
+++ b/Lib/idlelib/macosx.py
@@ -158,8 +158,8 @@ def postwindowsmenu(menu=menu):
 
         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."



More information about the Python-checkins mailing list