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."
# 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()
#! /usr/bin/env python3
-from idlelib.PyShell import main
+from idlelib.pyshell import main
if __name__ == '__main__':
main()