summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Lib/idlelib/macosx.py2
-rw-r--r--Mac/IDLE/IDLE.app/Contents/Resources/idlemain.py2
-rwxr-xr-xTools/scripts/idle32
3 files changed, 3 insertions, 3 deletions
diff --git a/Lib/idlelib/macosx.py b/Lib/idlelib/macosx.py
index 1e16f2c..618cc26 100644
--- a/Lib/idlelib/macosx.py
+++ b/Lib/idlelib/macosx.py
@@ -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."
diff --git a/Mac/IDLE/IDLE.app/Contents/Resources/idlemain.py b/Mac/IDLE/IDLE.app/Contents/Resources/idlemain.py
index 8b8beb9..5e9305a 100644
--- a/Mac/IDLE/IDLE.app/Contents/Resources/idlemain.py
+++ b/Mac/IDLE/IDLE.app/Contents/Resources/idlemain.py
@@ -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()
diff --git a/Tools/scripts/idle3 b/Tools/scripts/idle3
index 8ee92c2..d7332bc 100755
--- a/Tools/scripts/idle3
+++ b/Tools/scripts/idle3
@@ -1,5 +1,5 @@
#! /usr/bin/env python3
-from idlelib.PyShell import main
+from idlelib.pyshell import main
if __name__ == '__main__':
main()