]> granicus.if.org Git - python/commitdiff
Issue #24225: Fix additional renamed module references.
authorNed Deily <nad@python.org>
Sat, 4 Jun 2016 00:50:44 +0000 (17:50 -0700)
committerNed Deily <nad@python.org>
Sat, 4 Jun 2016 00:50:44 +0000 (17:50 -0700)
Lib/idlelib/macosx.py
Mac/IDLE/IDLE.app/Contents/Resources/idlemain.py
Tools/scripts/idle3

index 1e16f2c586f32d29aebc76734bbcac4059b2138c..618cc2631b78cf51a7f8abdfc68208a105dadf50 100644 (file)
@@ -155,7 +155,7 @@ def overrideRootMenu(root, flist):
         if end > 0:
             menu.delete(0, end)
         windows.add_windows_to_menu(menu)
-    Windows.register_callback(postwindowsmenu)
+    windows.register_callback(postwindowsmenu)
 
     def about_dialog(event=None):
         "Handle Help 'About IDLE' event."
index 8b8beb93d0fa736b16488c4e41fd43be9aa7df4d..5e9305a9d52d444b5f35432cb1269b3fcf3926f7 100644 (file)
@@ -70,6 +70,6 @@ for idx, value in enumerate(sys.argv):
 # Now it is safe to import idlelib.
 from idlelib import macosxSupport
 macosxSupport._appbundle = True
-from idlelib.PyShell import main
+from idlelib.pyshell import main
 if __name__ == '__main__':
     main()
index 8ee92c2afe8492b4221402b6ab37c8e2b0e59b18..d7332bca48b8ae35740ce62a068dbda225615119 100755 (executable)
@@ -1,5 +1,5 @@
 #! /usr/bin/env python3
 
-from idlelib.PyShell import main
+from idlelib.pyshell import main
 if __name__ == '__main__':
     main()