summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNed Deily <nad@python.org>2016-06-04 00:50:44 (GMT)
committerNed Deily <nad@python.org>2016-06-04 00:50:44 (GMT)
commit622b2f6ec90e071e9fe0e34a49a7b1218d4a7121 (patch)
tree00d83051ce95890f694c1a946826685a70408609
parentfcbf1ca4f9d4701b319aa4b173f27557c3271014 (diff)
downloadcpython-622b2f6ec90e071e9fe0e34a49a7b1218d4a7121.zip
cpython-622b2f6ec90e071e9fe0e34a49a7b1218d4a7121.tar.gz
cpython-622b2f6ec90e071e9fe0e34a49a7b1218d4a7121.tar.bz2
Issue #24225: Fix additional renamed module references.
-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()